summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
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 /ospf6d/ospf6_main.c
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 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 54ae4645ad..198a881106 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -222,7 +222,7 @@ main (int argc, char *argv[], char *envp[])
/* thread master */
master = frr_init ();
- vrf_init ();
+ vrf_init (NULL, NULL, NULL, NULL);
access_list_init ();
prefix_list_init ();