summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorAlex Couloumbis <alex@ozo.com>2017-06-08 07:55:25 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-06-08 07:57:25 -0400
commit9c3bf1cee7123c400224da00f60cca1bece802bd (patch)
tree7e1b4988cb4b30126e8a4258b023decc256e0879 /zebra/interface.c
parent9d693a54fa47a3a46cb672a0a89dc28e10d9498f (diff)
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/interface.c')
-rw-r--r--zebra/interface.c2
1 files changed, 2 insertions, 0 deletions
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);