From: phk Date: Wed, 23 Jul 2008 20:57:40 +0000 (+0000) Subject: Copy&Paste'o X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa2c3acf26d04b5b2072aeef57bfcaa0e435cbe8;p=varnish Copy&Paste'o git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3005 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcc_acl.c b/varnish-cache/lib/libvcl/vcc_acl.c index 20d2acfd..442d29c9 100644 --- a/varnish-cache/lib/libvcl/vcc_acl.c +++ b/varnish-cache/lib/libvcl/vcc_acl.c @@ -214,8 +214,8 @@ vcc_acl_try_getaddrinfo(struct tokenlist *tl, struct acl_e *ae) 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;