summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <Jafaral@users.noreply.github.com>2017-06-08 09:48:00 -0500
committerGitHub <noreply@github.com>2017-06-08 09:48:00 -0500
commite676bf62a8b62baf0dfc3806acdb08be5935f6d7 (patch)
tree7e1b4988cb4b30126e8a4258b023decc256e0879 /zebra/interface.c
parent9d693a54fa47a3a46cb672a0a89dc28e10d9498f (diff)
parent9c3bf1cee7123c400224da00f60cca1bece802bd (diff)
Merge pull request #696 from donaldsharp/disable_rtadv
zebra: Fix --disable-rtadv to actually compile
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);