]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: lingering IP address after deletion (BZ#486)
authorDavid Lamparter <equinox@diac24.net>
Mon, 1 Feb 2010 15:41:26 +0000 (16:41 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 13 Jul 2012 16:54:09 +0000 (18:54 +0200)
commit7f062c217b262e362a3362c677dea6c5e820adf1
treea74cb6fa04df4af9f60d770de5e485c37ba2866d
parent1080c13f5d3979149c1950a1c46f45e2d4bd0dc8
zebra: lingering IP address after deletion (BZ#486)

zebra address bookkeeping is a mess. this is just a workaround to have
IPv4 address deletion somewhat working on Linux.

the if_unset_prefix call is synchronous, when it returns success the
address deletion completed successfully. this is either signaled by a
netlink ACK or by an OK return value from ioctl().

This version is wrapped by #ifdef HAVE_NETLINK so we don't touch the
BSDs for now.

* zebra/interface.c: On Linux, update zebra internal state after
  deleting an address.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
zebra/interface.c