libnl/lib
Justin Mayfield de28daf226 nl_addr_parse handling of 'default', 'any', and 'all'
I found a small bug in the nl_addr_parse function when being passed the
strings "default", "any", or "all".  Currently nl_addr_parse will create
a zeroed nl_addr with a length corresponding to the family/hint or
AF_INET if omitted.  This behavior when used in conjunction with the
libnl-route library to add default routes to the system has the side
effect of creating a route to the host address 0.0.0.0/32.

Attached is a patch that matches the iproute2 behavior more closely
where we do set the family but the length of the nl_addr is set to 0.
2012-08-29 12:17:24 +02:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup doc: documentation restructuring 2012-05-10 12:03:59 +02:00
genl Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
netfilter ct_dump_stats: detect when stats are not available 2012-08-28 18:53:33 +06:00
route route_clone : fix segmentation fault using nl_cache_subset to filter routes 2012-08-29 12:14:59 +02:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
addr.c nl_addr_parse handling of 'default', 'any', and 'all' 2012-08-29 12:17:24 +02:00
attr.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
cache.c Fix for dumping objects to a buffer instead of file descriptor 2012-05-18 15:03:46 +02:00
cache_mngr.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
cache_mngt.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
data.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
Makefile.am Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
msg.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
nl.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
object.c Fix types-related warnings based on clang diagnostics 2012-06-13 13:30:26 +02:00
socket.c doc: documentation restructuring 2012-05-10 12:03:59 +02:00
utils.c Fix build warning after const char ** convert 2012-08-29 12:05:51 +02:00