From 0111b7c5e12837bca4b97d2dd0e3989348a6a85d Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Fri, 16 Jun 2000 22:21:34 +0000 Subject: [PATCH] enable multicast address check tests --- bin/tests/Makefile.in | 2 +- bin/tests/net/netaddr_multicast.c | 6 +++--- configure | 4 +++- configure.in | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bin/tests/Makefile.in b/bin/tests/Makefile.in index a9c861e388..06cbf4af02 100644 --- a/bin/tests/Makefile.in +++ b/bin/tests/Makefile.in @@ -37,7 +37,7 @@ LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@ LIBS = @LIBS@ -SUBDIRS = db dst master mem names rbt sockaddr tasks timers system +SUBDIRS = db dst master mem names net rbt sockaddr tasks timers system # Alphabetically TARGETS = diff --git a/bin/tests/net/netaddr_multicast.c b/bin/tests/net/netaddr_multicast.c index cf12df2b6e..59a07d1708 100644 --- a/bin/tests/net/netaddr_multicast.c +++ b/bin/tests/net/netaddr_multicast.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: netaddr_multicast.c,v 1.1 2000/06/16 22:17:11 explorer Exp $ */ +/* $Id: netaddr_multicast.c,v 1.2 2000/06/16 22:21:13 explorer Exp $ */ #include #include @@ -44,9 +44,9 @@ static addr_t addrs[] = { }; #define NADDRS (sizeof(addrs) / sizeof(addr_t)) -isc_result_t to_netaddr(addr_t *, isc_netaddr_t *); +static isc_result_t to_netaddr(addr_t *, isc_netaddr_t *); -isc_result_t +static isc_result_t to_netaddr(addr_t *addr, isc_netaddr_t *na) { int r; struct in_addr in; diff --git a/configure b/configure index 3a38894e32..3a9b4f17ad 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh -# From configure.in Revision: 1.148 +# From configure.in Revision: 1.149 @@ -4315,6 +4315,7 @@ trap 'rm -fr `echo "make/rules bin/tests/timers/Makefile bin/tests/dst/Makefile bin/tests/mem/Makefile + bin/tests/net/Makefile bin/tests/sockaddr/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh @@ -4546,6 +4547,7 @@ CONFIG_FILES=\${CONFIG_FILES-"make/rules bin/tests/timers/Makefile bin/tests/dst/Makefile bin/tests/mem/Makefile + bin/tests/net/Makefile bin/tests/sockaddr/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh diff --git a/configure.in b/configure.in index d868843f00..516428883d 100644 --- a/configure.in +++ b/configure.in @@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS dnl SOFTWARE. -AC_REVISION($Revision: 1.149 $) +AC_REVISION($Revision: 1.150 $) AC_PREREQ(2.13) @@ -1027,6 +1027,7 @@ AC_OUTPUT( bin/tests/timers/Makefile bin/tests/dst/Makefile bin/tests/mem/Makefile + bin/tests/net/Makefile bin/tests/sockaddr/Makefile bin/tests/system/Makefile bin/tests/system/conf.sh