[master] e2006b180 acl netmask is unsigned

Nils Goroll nils.goroll at uplex.de
Thu Dec 12 14:11:06 UTC 2019


commit e2006b1800c74de0ffdee31568bd2ba11708d0c6
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Dec 12 12:59:07 2019 +0100

    acl netmask is unsigned

diff --git a/lib/libvcc/vcc_acl.c b/lib/libvcc/vcc_acl.c
index da3f282d1..26231c4b6 100644
--- a/lib/libvcc/vcc_acl.c
+++ b/lib/libvcc/vcc_acl.c
@@ -44,7 +44,7 @@
 struct acl_e {
 	VTAILQ_ENTRY(acl_e)	list;
 	unsigned char		data[ACL_MAXADDR];
-	int			mask;
+	unsigned		mask;
 	unsigned		not;
 	unsigned		para;
 	char			*addr;


More information about the varnish-commit mailing list