From: Christos Tsantilas Date: Sun, 7 Aug 2011 12:21:57 +0000 (+0300) Subject: "make check" after the isAnyAddr patch fails to compile X-Git-Tag: take08~55^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356fc7f4d212e0a98641113bc9298ecf0a9350e7;p=thirdparty%2Fsquid.git "make check" after the isAnyAddr patch fails to compile An empty IP address is an IPv6 noaddr address now --- diff --git a/src/ip/testAddress.cc b/src/ip/testAddress.cc index 7b56f1189d..8be2ceb06e 100644 --- a/src/ip/testAddress.cc +++ b/src/ip/testAddress.cc @@ -41,7 +41,6 @@ testIpAddress::testDefaults() /* test stored values */ CPPUNIT_ASSERT( anIPA.IsAnyAddr() ); CPPUNIT_ASSERT( !anIPA.IsNoAddr() ); - CPPUNIT_ASSERT( anIPA.IsIPv4() ); CPPUNIT_ASSERT( !anIPA.IsSockAddr() ); CPPUNIT_ASSERT_EQUAL( (u_short) 0 , anIPA.GetPort() ); CPPUNIT_ASSERT( anIPA.IsIPv6() ); @@ -297,7 +296,6 @@ testIpAddress::testSetEmpty() /* test stored values after empty */ CPPUNIT_ASSERT( anIPA.IsAnyAddr() ); CPPUNIT_ASSERT( !anIPA.IsNoAddr() ); - CPPUNIT_ASSERT( anIPA.IsIPv4() ); CPPUNIT_ASSERT( anIPA.IsIPv6() ); CPPUNIT_ASSERT( !anIPA.IsSockAddr() ); CPPUNIT_ASSERT_EQUAL( (u_short) 0 , anIPA.GetPort() );