summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-13 10:06:36 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-14 20:56:43 -0400
commite2b1be648db7e7906aa5e4e04b23ef88cbeff04a (patch)
tree14faf25a68b8848173c59a8b340d75a4e427537b /zebra/main.c
parente74f14fc793475ed3dd3ad4b87f8648313b42b1b (diff)
lib, zebra: Rework vrf_add_update
The vrf_add_update function does not need to exist. Move it's constituent parts into the appropriate vrf_create/vrf_enable functionality as well as move the zebra_vrf_add_update() function call into zebra_vrf_enable() Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index eb46aad6ca..5da91042d3 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -43,6 +43,7 @@
#include "zebra/rtadv.h"
#include "zebra/zebra_fpm.h"
#include "zebra/zebra_ptm.h"
+#include "zebra/redistribute.h"
#define ZEBRA_PTM_SUPPORT
@@ -276,6 +277,8 @@ zebra_vrf_enable (vrf_id_t vrf_id, const char *name, void **info)
assert (zvrf);
+ zebra_vrf_add_update (zvrf);
+
return 0;
}