summaryrefslogtreecommitdiffstats
path: root/lib/zclient.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-16 01:02:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-16 01:02:34 +0200
commit7922fc65ae0bf5ec211064d8610d4122ddbb4e20 (patch)
treec3bc6ecb0418fe2ce1faa11807c800d440637919 /lib/zclient.c
parenteigrpd: Cleanup a bunch SA warnings. (diff)
downloadfrr-7922fc65ae0bf5ec211064d8610d4122ddbb4e20.tar.xz
frr-7922fc65ae0bf5ec211064d8610d4122ddbb4e20.zip
lib, zebra: Cleanup vrf api some
Segregate the vrf enable/disable functionality from other vrf code. This is to ensure that people are not actually using the functions when they should not be. Also document the why of it properly in the new vrf_int.h header. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zclient.c')
-rw-r--r--lib/zclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/zclient.c b/lib/zclient.c
index 1d3c93d85..5d1ca00c9 100644
--- a/lib/zclient.c
+++ b/lib/zclient.c
@@ -26,6 +26,8 @@
#include "stream.h"
#include "buffer.h"
#include "network.h"
+#include "vrf.h"
+#include "vrf_int.h"
#include "if.h"
#include "log.h"
#include "thread.h"