]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: no need to initialise netns directly
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 5 Feb 2018 15:37:49 +0000 (16:37 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 27 Feb 2018 10:11:24 +0000 (11:11 +0100)
NETNS is initialised from the VRF, instead of being directly called,
because this is not up to BGP daemon to initialise the various VRF
backend.

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

index 717fe09762177d7311fd1abc913445a7b484aebb..82c74e4afa5b971e0531405790096cba255f19d2 100644 (file)
@@ -301,7 +301,6 @@ static int bgp_vrf_disable(struct vrf *vrf)
 
 static void bgp_vrf_init(void)
 {
-       ns_init();
        vrf_init(bgp_vrf_new, bgp_vrf_enable, bgp_vrf_disable, bgp_vrf_delete);
 }