]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix radv interface disabled when bgp instance removed
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 6 Mar 2025 15:53:08 +0000 (16:53 +0100)
committerDmytro Shytyi <dmytro.shytyi@6wind.com>
Mon, 17 Mar 2025 10:19:58 +0000 (11:19 +0100)
commit496caed8363c659cb7303f11e87fbf4e77f877e7
tree9705406caffb947466f879e2cf89c1627dfc0bec
parentc288e5fbaf73bafb9aa15ade13969fc321e321db
bgpd: fix radv interface disabled when bgp instance removed

If a peer uses radv for an interface, and bgp instance is removed,
then the radv service is not disabled on the interface.

Fix this by doing the same at BGP unconfiguration. Like it has been
done when a peer is unconfigured, call the radv unregistration before
deleting the peer.

Fixes: b3a3290e2303 ("bgpd: turn off RAs when numbered peers are deleted")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Dmytro Shytyi <dmytro.shytyi@6wind.com>
bgpd/bgpd.c