summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Weißschuh2021-10-24 08:59:56 +0000
committerJo-Philipp Wich2021-10-24 09:51:15 +0000
commitc5a8e3ef0f22bafbc4bee4e69f2166d0494cf5d3 (patch)
treeef947489f6a2e45221f00a5bb4b5c1f7abd7b813
parent35f5120afcf158e445062fdb5072684ed24d91d0 (diff)
downloadfirewall4-c5a8e3ef0f22bafbc4bee4e69f2166d0494cf5d3.tar.gz
tests: adapt test to new ICMP print logic
Fixes: 35f5120afcf158e445062fdb5072684ed24d91d0 Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
-rw-r--r--tests/03_rules/04_icmp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/03_rules/04_icmp b/tests/03_rules/04_icmp
index 53cee11..834ecc7 100644
--- a/tests/03_rules/04_icmp
+++ b/tests/03_rules/04_icmp
@@ -100,8 +100,8 @@ table inet fw4 {
meta l4proto icmp counter comment "!fw4: ICMP rule #1"
meta nfproto ipv6 meta l4proto ipv6-icmp counter comment "!fw4: ICMP rule #2"
meta nfproto ipv6 meta l4proto ipv6-icmp counter comment "!fw4: ICMP rule #3"
- meta nfproto ipv4 icmp type . icmp code 12 . 0 counter comment "!fw4: ICMP rule #4"
- meta nfproto ipv6 icmpv6 type . icmpv6 code 136 . 0 counter comment "!fw4: ICMP rule #5"
+ meta nfproto ipv4 icmp type . icmp code { 12 . 0 } counter comment "!fw4: ICMP rule #4"
+ meta nfproto ipv6 icmpv6 type . icmpv6 code { 136 . 0 } counter comment "!fw4: ICMP rule #5"
}
chain handle_reject {