summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorJoachim Nilsson <troglobit@gmail.com>2012-05-09 13:38:36 +0200
committerDavid Lamparter <equinox@diac24.net>2012-05-09 13:51:54 +0200
commit36735ed988f96810e78d0ace2f7d8e6397db5c50 (patch)
tree3a8f876383d07a33aa7b76d7519a75d8678bbb1f /zebra/main.c
parent42cb6b6655d0cc141374ec373220d244f81fbba0 (diff)
zebra: fix up compilation without rtadv/IPv6
let's ground the rtadv.h file if route advertisements are disabled. And fix up the CLI for it, as well as move the "show ip mroute" to its proper place. * zebra/rtadv.h: #ifdef RTADV * zebra/main.c: #ifdef RTADV * zebra/zebra_vty.c: move "show ip mroute" out of #ifdef IPV6 From: Joachim Nilsson <troglobit@gmail.com> [moved #ifdef RTADV to rtadv.h] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 5f26ce24..5b5265f2 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -327,7 +327,9 @@ main (int argc, char **argv)
zebra_vty_init ();
access_list_init ();
prefix_list_init ();
+#ifdef RTADV
rtadv_init ();
+#endif
#ifdef HAVE_IRDP
irdp_init();
#endif