diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-16 01:31:27 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-16 01:31:27 +0200 |
commit | 6df853648784baf44c55d026bd8e4f0976bd1607 (patch) | |
tree | e29512e029db8787d0c1883627512034e97f8c50 /ripngd | |
parent | *: Remove some unneeded functions (diff) | |
download | frr-6df853648784baf44c55d026bd8e4f0976bd1607.tar.xz frr-6df853648784baf44c55d026bd8e4f0976bd1607.zip |
*: 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 'ripngd')
-rw-r--r-- | ripngd/ripng_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_main.c b/ripngd/ripng_main.c index 9d97df5c4..5767b0863 100644 --- a/ripngd/ripng_main.c +++ b/ripngd/ripng_main.c @@ -178,7 +178,7 @@ main (int argc, char **argv) master = frr_init (); /* Library inits. */ - vrf_init (); + vrf_init (NULL, NULL, NULL, NULL); /* RIPngd inits. */ ripng_init (); |