Go to file
Wolfgang Steudel 5702d4c1b9 Only include local addr as peer addr if provided
we're using libnl-1.1 for a project. When trying to delete all
addresses of an interface by only setting interface index and
address family of an rtnl_addr and executing rtnl_addr_delete()
we received some error (I don't remember what it was).

The bug(?) is in build_addr_msg() in lib/route/addr.c:
IFA_ADDRESS is set to a_local when a_peer is not set,
without checking if a_local was set. We just added
   if (tmpl->ce_mask & ADDR_ATTR_LOCAL)
after the "else" (line 496 in the current git).
2008-10-10 12:32:23 +02:00
doc [PATCH] Remove autogenerated files from git and add them to .gitignore. 2008-01-10 14:57:10 +01:00
include From: Kees Cook <kees@outflux.net> 2008-10-10 12:13:52 +02:00
lib Only include local addr as peer addr if provided 2008-10-10 12:32:23 +02:00
src Explicitely link to nl-route when linking nf apps. 2008-08-19 01:35:01 +02:00
tests test updates 2008-08-20 12:01:50 +02:00
.gitignore ignore more temporary files 2008-05-05 17:13:02 +02:00
aclocal.m4 Initial import 2007-09-15 01:28:01 +02:00
ChangeLog Pushed to pre8 due to wrong version string in pre7 2007-11-21 18:24:11 +01:00
configure.in adapt configure to generate libnl-2.0.pc 2008-08-19 01:48:50 +02:00
COPYING Initial import 2007-09-15 01:28:01 +02:00
install-sh Initial import 2007-09-15 01:28:01 +02:00
libnl-2.0.pc.in Changed libnl-1.pc.in to libnl-2.0.pc.in 2008-08-19 01:46:22 +02:00
Makefile Changed libnl-1.pc.in to libnl-2.0.pc.in 2008-08-19 01:46:22 +02:00
Makefile.opts.in Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
Makefile.rules Define datarootdir to silent autoconf 2008-04-29 23:01:39 +02:00