summaryrefslogtreecommitdiff
path: root/ldpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-15 19:31:27 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-15 19:31:27 -0400
commit6df853648784baf44c55d026bd8e4f0976bd1607 (patch)
treee29512e029db8787d0c1883627512034e97f8c50 /ldpd
parent759927a1b9e1a0a820e05dbb6ce12fb16c8f9b34 (diff)
*: Consolidate vrf_hooks into vrf_init
We only needed to add/change the vrf callbacks when we initialize the vrf subsystem. As such it is not necessary to handle the callbacks in any other way than through the init function. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ldpd')
-rw-r--r--ldpd/ldpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldpd.c b/ldpd/ldpd.c
index a0b021dfd9..710dcd15f4 100644
--- a/ldpd/ldpd.c
+++ b/ldpd/ldpd.c
@@ -329,7 +329,7 @@ main(int argc, char *argv[])
cmd_init(1);
vty_config_lockless();
vty_init(master);
- vrf_init();
+ vrf_init(NULL, NULL, NULL, NULL);
access_list_init();
ldp_vty_init();
ldp_zebra_init(master);