r3310 - branches/2.0/varnish-cache/lib/libvcl

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Oct 16 11:08:58 CEST 2008


Author: tfheen
Date: 2008-10-16 11:08:57 +0200 (Thu, 16 Oct 2008)
New Revision: 3310

Modified:
   branches/2.0/varnish-cache/lib/libvcl/vcc_acl.c
Log:
Merge 3308 from trunk

Modified: branches/2.0/varnish-cache/lib/libvcl/vcc_acl.c
===================================================================
--- branches/2.0/varnish-cache/lib/libvcl/vcc_acl.c	2008-10-16 08:51:15 UTC (rev 3309)
+++ branches/2.0/varnish-cache/lib/libvcl/vcc_acl.c	2008-10-16 09:08:57 UTC (rev 3310)
@@ -397,7 +397,7 @@
 			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;




More information about the varnish-commit mailing list