Send a RA with router lifetime of 0 when an interface is removed from
authorflorian <florian@openbsd.org>
Wed, 11 Jul 2018 17:32:05 +0000 (17:32 +0000)
committerflorian <florian@openbsd.org>
Wed, 11 Jul 2018 17:32:05 +0000 (17:32 +0000)
commit4a78c7cf1da74945eaac89675bb548f92d5e06fe
treef09bb503b5dce40f98a535800daff14db6782dcd
parent23cebd36ebdaa5f812f2525f834a0b7f8ee73d85
Send a RA with router lifetime of 0 when an interface is removed from
the config.

RFC 4861, 6.2.5:
[...] the router SHOULD transmit one or more (but not more than
MAX_FINAL_RTR_ADVERTISEMENTS) final multicast Router Advertisements on
the interface with a Router Lifetime field of zero.
usr.sbin/rad/engine.c
usr.sbin/rad/frontend.c
usr.sbin/rad/rad.h