summaryrefslogtreecommitdiffstats
path: root/zebra/misc_null.c
diff options
context:
space:
mode:
authorAlex Couloumbis <alex@ozo.com>2017-06-08 13:55:25 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-08 13:57:25 +0200
commit9c3bf1cee7123c400224da00f60cca1bece802bd (patch)
tree7e1b4988cb4b30126e8a4258b023decc256e0879 /zebra/misc_null.c
parentMerge pull request #678 from chiragshah6/pim_dev (diff)
downloadfrr-9c3bf1cee7123c400224da00f60cca1bece802bd.tar.xz
frr-9c3bf1cee7123c400224da00f60cca1bece802bd.zip
zebra: Fix --disable-rtadv to actually compile
Signed-off-by: Alex Couloumbis <alex@ozo.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/misc_null.c')
-rw-r--r--zebra/misc_null.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/misc_null.c b/zebra/misc_null.c
index b125becdc..f58eb628b 100644
--- a/zebra/misc_null.c
+++ b/zebra/misc_null.c
@@ -25,7 +25,9 @@
#include "zebra/irdp.h"
#include "zebra/interface.h"
+#if defined (HAVE_RTADV)
void rtadv_config_write (struct vty *vty, struct interface *ifp) { return; }
+#endif
void irdp_config_write (struct vty *vty, struct interface *ifp) { return; }
#ifdef HAVE_PROC_NET_DEV
void ifstat_update_proc (void) { return; }