diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-20 08:33:30 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-20 07:07:41 -0800 | 
| commit | 8da4e9466a3a3cdbfbc36e92528a9c8f395b230c (patch) | |
| tree | f03c0afa4a8c106779fb3f52ca98dd8572bb38d3 /zebra/rtadv.h | |
| parent | b78a42c24d119356e231052a526bf7e05d0d0c9f (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.h | 4 | 
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 *);  | 
