libdnet icon indicating copy to clipboard operation
libdnet copied to clipboard

fix payload size of Netlink message in route_get()

Open luznicky opened this issue 9 months ago • 2 comments

The len parameter of NLMSG_LENGTH was size of Netlink header instead of RtNetlink header.

Also make it more clear that the parameter of the macro is the payload size, which is RtNetlink message in this case.

luznicky avatar May 10 '24 12:05 luznicky