MAJOR: acl: remove the arg_mask from the ACL definition and use the sample fetch's
Now that ACLs solely rely on sample fetch functions, make them use the
same arg mask. All inconsistencies have been fixed separately prior to
this patch, so this patch almost only adds a new pointer indirection
and removes all references to ARG*() in the definitions.
The parsing is still performed by the ACL code though.
diff --git a/src/listener.c b/src/listener.c
index 28c5bf0..862e1e4 100644
--- a/src/listener.c
+++ b/src/listener.c
@@ -653,8 +653,8 @@
* Please take care of keeping this list alphabetically sorted.
*/
static struct acl_kw_list acl_kws = {{ },{
- { "dst_conn", NULL, acl_parse_int, acl_match_int, ACL_USE_NOTHING, 0 },
- { "so_id", NULL, acl_parse_int, acl_match_int, ACL_USE_NOTHING, 0 },
+ { "dst_conn", NULL, acl_parse_int, acl_match_int, ACL_USE_NOTHING },
+ { "so_id", NULL, acl_parse_int, acl_match_int, ACL_USE_NOTHING },
{ /* END */ },
}};