Skip to content

Commit 2bf4edd

Browse files
committed
zebra: fix reset bgp configuration on if_delete
When an interface is removed from the configuration, the configuration is flushed in the rtadv_if_fini() function, but the dynamic part related to bgp registration of radvd is not done. Signed-off-by: Philippe Guibert <[email protected]>
1 parent 94ae3cd commit 2bf4edd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zebra/rtadv.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2070,6 +2070,8 @@ void rtadv_if_fini(struct zebra_if *zif)
20702070
struct rtadv_prefix *rp;
20712071
struct pref64_adv *pref64_adv;
20722072

2073+
zebra_rtadv_disable_per_interface(zif);
2074+
20732075
rtadv = &zif->rtadv;
20742076

20752077
while ((rp = rtadv_prefixes_pop(rtadv->prefixes)))

0 commit comments

Comments
 (0)