From 74c14ed8f0fe59a355fd678be9dacaaadf19adf5 Mon Sep 17 00:00:00 2001 From: "/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kadlec/emailAddress=kadlec@netfilter.org" Date: Fri, 3 Mar 2006 09:36:50 +0000 Subject: Multiple matches of the same type can be specified on the commandline. If two or more matches of the same type are detected then the options are assumed to be grouped in order to tell which option belongs to which match: ... -m foo ... ... -m foo ... ... Otherwise the commandline parsing is unmodified. --- include/iptables.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/iptables.h') diff --git a/include/iptables.h b/include/iptables.h index bf71e52..c56a005 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -29,6 +29,10 @@ struct iptables_rule_match struct iptables_rule_match *next; struct iptables_match *match; + + /* Multiple matches of the same type: the ones before + the current one are completed from parsing point of view */ + unsigned int completed; }; /* Include file for additions: new matches and targets. */ -- cgit v1.2.3