diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-21 21:03:24 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2012-09-21 21:03:24 +0200 |
commit | 3a3794573386d0cb2930a9daad5615036c06f4e2 (patch) | |
tree | 52dc8066bff6301af9910a47f8e235336f77e8a8 /tests/runtest.sh | |
parent | 3578220cf27c3e7017dd8af6b17c08218cf632d0 (diff) |
Support to match elements marked with "nomatch" in hash:*net* sets
Exceptions can now be matched and we can branch according to the
possible cases:
a. match in the set if the element is not flagged as "nomatch"
b. match in the set if the element is flagged with "nomatch"
c. no match
i.e.
iptables ... -m set --match-set ... -j ...
iptables ... -m set --match-set ... --nomatch-entries -j ...
...
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-x | tests/runtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh index ff5c492..ad2ac42 100755 --- a/tests/runtest.sh +++ b/tests/runtest.sh @@ -22,7 +22,7 @@ add_tests() { # inet|inet6 network if [ $1 = "inet" ]; then cmd=iptables-save - add=match_target + add="match_target match_flags" else cmd=ip6tables-save add=match_target6 |