]> err.no Git - varnish/commitdiff
Merge 3308 from trunk
authortfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Oct 2008 09:08:57 +0000 (09:08 +0000)
committertfheen <tfheen@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Thu, 16 Oct 2008 09:08:57 +0000 (09:08 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/branches/2.0@3310 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_acl.c

index 6d0c748e08d88ebf10399091694a63d841fd2850..a3e4392594508b943c80baa5827e012e6b5ecb9e 100644 (file)
@@ -397,7 +397,7 @@ vcc_acl_bot(const struct tokenlist *tl, const char *acln, int silent, const char
                        Fh(tl, 0, "\t%*s%sif ((a[%d] & 0x%x) == %d) {\n",
                            -i, "",
                            oc,
-                           i, (0xff00 >> m) & 0xff,
+                           i - 1, (0xff00 >> m) & 0xff,
                            ae->data[i] & ((0xff00 >> m) & 0xff));
                        at[i] = 256;
                        depth = i;