A bug in rtnetlink(3) man page?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I believe there is a bug in rtnetlink(3) man page (http://www.kernel.org/doc/man-pages/online/pages/man3/rtnetlink.3.html). There seem to be an error in the example code (the EXAMPLE section). The line:

rta->rta_len = sizeof(unsigned int);

should be:

rta->rta_len = RTA_LENGTH(sizeof(unsigned int));

Can anyone please confirm if I'm right?

Thank you.
With kind regards,
Sergei.



      
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux