diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2019-12-06 18:23:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-06 18:23:39 +0100 |
| commit | 0d26af12030301b47a9a7b43a98b1f0c003eb86c (patch) | |
| tree | b32b923a71705ef33c7f034f368fb3097675e543 /zebra/main.c | |
| parent | d4b391321dd1fdee77da1767e283e73801d61752 (diff) | |
| parent | d7fc0e677e8c6804e00e770b4bd2c080c7ba028a (diff) | |
Merge pull request #5462 from dslicenc/ipv6-ra-lifetime-0
zebra: send RA lifetime of 0 before ceasing to advertise RAs
Diffstat (limited to 'zebra/main.c')
| -rw-r--r-- | zebra/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c index 731c4e1614..e0408c0bca 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -145,6 +145,9 @@ static void sigint(void) atomic_store_explicit(&zrouter.in_shutdown, true, memory_order_relaxed); + /* send RA lifetime of 0 before stopping. rfc4861/6.2.5 */ + rtadv_stop_ra_all(); + frr_early_fini(); zebra_dplane_pre_finish(); |
