]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: register to vrf_update_name() hook
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 19 Jun 2019 09:15:43 +0000 (11:15 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Aug 2019 13:08:50 +0000 (15:08 +0200)
commitd5f31d5f82ae2a2744a18d1bc7513fe3902411eb
treeb2486c2577e04a7cf5d9695afe358cf9420baeb6
parent87272aff3241f0844ac826687f41956aaa753884
bgpd: register to vrf_update_name() hook

that hook is called back when default vrf name changes.
note that the hook is bgp_vrf_enable, and that the function is slightly
modified in order to be able to move bgp vrf instance from vrf to
default instance. for this, rfapi contexts are allocated.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_main.c