From a258ad7002ae4b4f366800f512db938fb78d0661 Mon Sep 17 00:00:00 2001 From: Joszef Kadlecsik 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 bf71e526..c56a0057 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