From: Philippe Guibert Date: Thu, 20 Jun 2019 08:10:41 +0000 (+0200) Subject: ospfd: update ospf default vrf name with vrf hook X-Git-Tag: base_7.3~353^2~9 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b5c056fa0888d0dad5a7c5c0b00ee0d1c20440bc;p=matthieu%2Ffrr.git ospfd: update ospf default vrf name with vrf hook vrf hook handler associated to updating the vrf default name is added. Then, when creating default ospf vrf instance, the vrf identifier will be associated to the correct default vrf name. Signed-off-by: Philippe Guibert --- diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index b91a55f635..8f91f84a41 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -2158,7 +2158,7 @@ static int ospf_vrf_disable(struct vrf *vrf) void ospf_vrf_init(void) { vrf_init(ospf_vrf_new, ospf_vrf_enable, ospf_vrf_disable, - ospf_vrf_delete, NULL); + ospf_vrf_delete, ospf_vrf_enable); } void ospf_vrf_terminate(void)