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/main.c | |
| 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/main.c')
| -rw-r--r-- | zebra/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/main.c b/zebra/main.c index 4b2a89856e..8048eba71e 100644 --- a/zebra/main.c +++ b/zebra/main.c @@ -238,7 +238,7 @@ zebra_vrf_enable (vrf_id_t vrf_id, void **info) assert (zvrf); -#ifdef RTADV +#if defined (HAVE_RTADV) rtadv_init (zvrf); #endif kernel_init (zvrf); @@ -269,7 +269,7 @@ zebra_vrf_disable (vrf_id_t vrf_id, void **info) if_down (ifp); } -#ifdef RTADV +#if defined (HAVE_RTADV) rtadv_terminate (zvrf); #endif kernel_terminate (zvrf); @@ -417,7 +417,7 @@ main (int argc, char **argv) zebra_vty_init (); access_list_init (); prefix_list_init (); -#ifdef RTADV +#if defined (HAVE_RTADV) rtadv_cmd_init (); #endif #ifdef HAVE_IRDP |
