From fa2c3acf26d04b5b2072aeef57bfcaa0e435cbe8 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 23 Jul 2008 20:57:40 +0000 Subject: [PATCH] Copy&Paste'o git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3005 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvcl/vcc_acl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5