diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-15 19:31:27 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-15 19:31:27 -0400 |
| commit | 6df853648784baf44c55d026bd8e4f0976bd1607 (patch) | |
| tree | e29512e029db8787d0c1883627512034e97f8c50 /ripd/rip_main.c | |
| parent | 759927a1b9e1a0a820e05dbb6ce12fb16c8f9b34 (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 'ripd/rip_main.c')
| -rw-r--r-- | ripd/rip_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/rip_main.c b/ripd/rip_main.c index 62ea6dd078..a4509cc064 100644 --- a/ripd/rip_main.c +++ b/ripd/rip_main.c @@ -178,7 +178,7 @@ main (int argc, char **argv) /* Library initialization. */ keychain_init (); - vrf_init (); + vrf_init (NULL, NULL, NULL, NULL); /* RIP related initialization. */ rip_init (); |
