summaryrefslogtreecommitdiff
path: root/zebra/rtadv.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-11-20 08:33:30 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-11-20 07:07:41 -0800
commit8da4e9466a3a3cdbfbc36e92528a9c8f395b230c (patch)
treef03c0afa4a8c106779fb3f52ca98dd8572bb38d3 /zebra/rtadv.h
parentb78a42c24d119356e231052a526bf7e05d0d0c9f (diff)
Quagga: Cleanup RTADV define
The RTADV define was not being set correctly or consistently. Make the code consistent with our HAVE_IPV6 define. If the user wants to explicitly turn it off then they should run --disable-rtadv from the configure cli Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rtadv.h')
-rw-r--r--zebra/rtadv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rtadv.h b/zebra/rtadv.h
index 76f98cf2c8..160814b209 100644
--- a/zebra/rtadv.h
+++ b/zebra/rtadv.h
@@ -27,7 +27,7 @@
#include "zebra/interface.h"
/* NB: RTADV is defined in zebra/interface.h above */
-#ifdef RTADV
+#if defined (HAVE_RTADV)
/* Router advertisement prefix. */
struct rtadv_prefix
@@ -98,7 +98,7 @@ struct nd_opt_homeagent_info { /* Home Agent info */
extern const char *rtadv_pref_strs[];
-#endif /* RTADV */
+#endif /* HAVE_RTADV */
extern void rtadv_init (struct zebra_vrf *);
extern void rtadv_terminate (struct zebra_vrf *);