From d2a0ccc634dec98d0498c082ba49c069aaee0fae Mon Sep 17 00:00:00 2001 From: gdt Date: Wed, 3 Dec 2003 18:13:48 +0000 Subject: Enable rtadv by default. Resolves bug #66. --- ChangeLog | 13 ++++++++++++- configure.ac | 8 ++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 13f5457f..1e80b427 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,21 @@ +2003-12-03 Greg Troxel + + * configure.ac: Compile in Router Advertisement support by + default. Note that this does not default to sending RAs; it just + makes 'ipv6 nd send-ra' and 'ipv6 nd prefix-advertisement' + available. While others may prefer other tools, no argument has + been made that router advertisement support is such bloat that it + should be compiled out by default (it 9556 bytes on NetBSD/i386 vs + 8 bytes with the support compiled out). This reversion of a + previous change was done in consultation with Paul. + 2003-12-03 Greg Troxel * configure.ac: Move tests for v6 header files to after the check for v6 code version, and conditionalize on the right variable. (Fixes problem where v6 header files are not included when v6 is enabled implicitly.) - + 2003-12-03 Greg Troxel * configure.ac: Add --enable-exampledir to specify where example diff --git a/configure.ac b/configure.ac index b3fd50ec..725ce72f 100755 --- a/configure.ac +++ b/configure.ac @@ -117,7 +117,7 @@ AC_ARG_ENABLE(vty_group, [ --enable-vty-group=ARG set vty sockets to have specified group as owner]) AC_ARG_ENABLE(rtadv, -[ --enable-rtadv enable IPV6 router advertisement feature]) +[ --disable-rtadv disable IPV6 router advertisement feature]) if test "${enable_broken_aliases}" = "yes"; then if test "${enable_netlink}" = "yes" @@ -146,10 +146,10 @@ if test "${enable_ospf_te}" = "yes"; then AC_DEFINE(HAVE_OSPF_TE,,OSPF TE) fi -AC_MSG_CHECKING(Should zebra's RTADV be used) -if test "${enable_rtadv}" = "yes"; then +AC_MSG_CHECKING(if zebra should be configurable to send Route Advertisements) +if test "${enable_rtadv}" != "no"; then AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_RTADV,,Enable zebra IPv6 Routing Advertisements) + AC_DEFINE(HAVE_RTADV,,Enable IPv6 Routing Advertisement support) else AC_MSG_RESULT(no) fi -- cgit v1.2.1