]> git.proxmox.com Git - mirror_frr.git/commit - zebra/interface.c
zebra: improve interface shutdown behaviour
authorChristian Franke <chris@opensourcerouting.org>
Thu, 24 Jan 2013 14:04:50 +0000 (14:04 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 19 Sep 2013 15:51:16 +0000 (17:51 +0200)
commitbfac8dcd2fe7ed099a679b5c8245599c6d0312ed
tree7674e567b6824aac9dfe78f0e149871b4d49a44c
parent02b4805f3914ef6ba0242c6f4dd1b6759ef97bf2
zebra: improve interface shutdown behaviour

Linux removes IPv6 addresses when the interface is set down. Those
addresses need to be readded when the interface is set up again.

Also, an interface should not be reactivated from shutdown by configuring
an ip address.

Finally, remove the three-state logic for the shutdown setting as its
sole current use may be mild confusion.

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