From 36735ed988f96810e78d0ace2f7d8e6397db5c50 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Wed, 9 May 2012 13:38:36 +0200 Subject: 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 [moved #ifdef RTADV to rtadv.h] Signed-off-by: David Lamparter --- zebra/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zebra/main.c') 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 -- cgit v1.2.1