]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 2523: bad assertion
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Nov 2008 01:08:28 +0000 (14:08 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Nov 2008 01:08:28 +0000 (14:08 +1300)
lib/IPAddress.cc

index 0cc269da32e4b5b126578caf0939e11896f934c0..8bb88143da4a511116e65a1c4a72a3af35b73617 100644 (file)
@@ -1150,8 +1150,6 @@ void IPAddress::GetSockAddr(struct sockaddr_in6 &buf) const {
     /* maintain address family. It may have changed inside us. */
     buf.sin6_family = AF_INET6;
 
-assert(HAVE_SIN6_LEN_IN_SAI);
-
 #if HAVE_SIN6_LEN_IN_SAI
     /* not all OS have this field, BUT when they do it can be a problem if set wrong */
     buf.sin6_len = sizeof(struct sockaddr_in6);