From 9c3bf1cee7123c400224da00f60cca1bece802bd Mon Sep 17 00:00:00 2001 From: Alex Couloumbis Date: Thu, 8 Jun 2017 07:55:25 -0400 Subject: zebra: Fix --disable-rtadv to actually compile Signed-off-by: Alex Couloumbis Signed-off-by: Donald Sharp --- zebra/interface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zebra/interface.c') diff --git a/zebra/interface.c b/zebra/interface.c index c60cb8dcbc..9393305f06 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -849,6 +849,7 @@ if_up (struct interface *ifp) if_nbr_ipv6ll_to_ipv4ll_neigh_add_all (ifp); +#if defined (HAVE_RTADV) /* Enable fast tx of RA if enabled && RA interval is not in msecs */ if (zif->rtadv.AdvSendAdvertisements && (zif->rtadv.MaxRtrAdvInterval >= 1000)) @@ -856,6 +857,7 @@ if_up (struct interface *ifp) zif->rtadv.inFastRexmit = 1; zif->rtadv.NumFastReXmitsRemain = RTADV_NUM_FAST_REXMITS; } +#endif /* Install connected routes to the kernel. */ if_install_connected (ifp); -- cgit v1.2.3