r3005 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Wed Jul 23 22:57:41 CEST 2008


Author: phk
Date: 2008-07-23 22:57:40 +0200 (Wed, 23 Jul 2008)
New Revision: 3005

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_acl.c
Log:
Copy&Paste'o



Modified: trunk/varnish-cache/lib/libvcl/vcc_acl.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_acl.c	2008-07-23 17:37:44 UTC (rev 3004)
+++ trunk/varnish-cache/lib/libvcl/vcc_acl.c	2008-07-23 20:57:40 UTC (rev 3005)
@@ -214,8 +214,8 @@
 			break;
 		case PF_INET6:
 			sin6 = (void*)res->ai_addr;
-			assert(sizeof(sin4->sin_family) == 1);
-			assert(sizeof(sin4->sin_addr) == 16);
+			assert(sizeof(sin6->sin6_family) == 1);
+			assert(sizeof(sin6->sin6_addr) == 16);
 			u = (void*)&sin6->sin6_addr;
 			if (ae->t_mask == NULL)
 				ae->mask = 128;




More information about the varnish-commit mailing list