]> git.proxmox.com Git - mirror_frr.git/commit
*: remove -r from daemons except zebra
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 16 May 2018 21:07:54 +0000 (21:07 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 21 May 2018 19:09:49 +0000 (19:09 +0000)
commitc8dde10f58213f2011f074fcd627f4c5f463b013
treee8394764c291d7eb4e3b64eab634adb7facd9adc
parentba6ccc944f91f06ae23eac237d9c88751c612bba
*: remove -r from daemons except zebra

This option is only implemented by 4 daemons:
- BGPD
- RIPD
- RIPNGD
- Zebra

Manpages and documentation say that the option causes routes to not be
uninstalled from zebra when the daemon terminates. This is true for RIPD
and RIPNGD. This is not true for BGPD; in that daemon it only prevents
transmission of Cease / Peer Unconfig NOTIFICATION messages to peers.

Moreover, when any daemon disconnects from Zebra, all of its routes are
uninstalled from Zebra and the kernel regardless of this option,
rendering the option largely vestigial.

It is still useful in Zebra, where it prevents all routes from being
uninstalled when Zebra shuts down, so it is left there.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_main.c
ripd/rip_main.c
ripngd/ripng_main.c