]> err.no Git - varnish/commitdiff
Copy&Paste'o
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 23 Jul 2008 20:57:40 +0000 (20:57 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 23 Jul 2008 20:57:40 +0000 (20:57 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3005 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_acl.c

index 20d2acfd89204fe39bad464a2416de9b78967f2c..442d29c9d1754717a8d50f725968ceee7a4e0e39 100644 (file)
@@ -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;