]> git.proxmox.com Git - mirror_frr.git/commit - staticd/static_zebra.c
staticd: register to interface events related with non default vrf
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 26 Aug 2019 11:36:16 +0000 (13:36 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 17 Sep 2019 15:30:48 +0000 (17:30 +0200)
commitfceb6174cf357721077586eadf9362f27291dfa7
tree1f5f1cd1f4e0055c9681fa984eee3651574f1e2f
parent215e03fe5328404e543760fecbbbf096a612bebc
staticd: register to interface events related with non default vrf

in addition to non default vrf, once a new vrf is available, the static
daemon registers to events from that vrf, including presence of
interfaces. this permits to create static route with nexthop=interface.
Reversely, an unregistration is scheduled too when vrf disappears.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
staticd/static_vrf.c
staticd/static_zebra.c
staticd/static_zebra.h