]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
tests: py: update new reject with icmp code syntax leftover
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Jul 2021 22:26:43 +0000 (00:26 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Jul 2021 22:43:07 +0000 (00:43 +0200)
I forgot to update a few more spots in the json files.

Fixes: 08d2f0493671 ("src: promote 'reject with icmp CODE' syntax")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tests/py/inet/reject.t.json.output
tests/py/ip/reject.t.json
tests/py/ip6/reject.t.json

index 043617a721ea42b0cc14a1f6afc23ed974e2d4a9..496ce5570ccca05fd2f95c799444030490e7dd74 100644 (file)
@@ -55,7 +55,7 @@
     }
 ]
 
-# meta nfproto ipv4 reject with icmp type host-unreachable
+# meta nfproto ipv4 reject with icmp host-unreachable
 [
     {
         "reject": {
@@ -65,7 +65,7 @@
     }
 ]
 
-# meta nfproto ipv6 reject with icmpv6 type no-route
+# meta nfproto ipv6 reject with icmpv6 no-route
 [
     {
         "reject": {
index d120b9f10185b34a9346fda9b22259aeb06e7e87..c0d7791b916413fa6281ae0fb7caf8da7d985d71 100644 (file)
@@ -5,7 +5,7 @@
     }
 ]
 
-# reject with icmp type host-unreachable
+# reject with icmp host-unreachable
 [
     {
         "reject": {
@@ -15,7 +15,7 @@
     }
 ]
 
-# reject with icmp type net-unreachable
+# reject with icmp net-unreachable
 [
     {
         "reject": {
@@ -25,7 +25,7 @@
     }
 ]
 
-# reject with icmp type prot-unreachable
+# reject with icmp prot-unreachable
 [
     {
         "reject": {
@@ -35,7 +35,7 @@
     }
 ]
 
-# reject with icmp type port-unreachable
+# reject with icmp port-unreachable
 [
     {
         "reject": {
@@ -45,7 +45,7 @@
     }
 ]
 
-# reject with icmp type net-prohibited
+# reject with icmp net-prohibited
 [
     {
         "reject": {
@@ -55,7 +55,7 @@
     }
 ]
 
-# reject with icmp type host-prohibited
+# reject with icmp host-prohibited
 [
     {
         "reject": {
@@ -65,7 +65,7 @@
     }
 ]
 
-# reject with icmp type admin-prohibited
+# reject with icmp admin-prohibited
 [
     {
         "reject": {
index ae57c333fdbe22c2b89b853898f94585a02cae45..718d0ee5173f29eda732a2dc8511d5db9161f203 100644 (file)
@@ -5,7 +5,7 @@
     }
 ]
 
-# reject with icmpv6 type no-route
+# reject with icmpv6 no-route
 [
     {
         "reject": {
@@ -15,7 +15,7 @@
     }
 ]
 
-# reject with icmpv6 type admin-prohibited
+# reject with icmpv6 admin-prohibited
 [
     {
         "reject": {
@@ -25,7 +25,7 @@
     }
 ]
 
-# reject with icmpv6 type addr-unreachable
+# reject with icmpv6 addr-unreachable
 [
     {
         "reject": {
@@ -35,7 +35,7 @@
     }
 ]
 
-# reject with icmpv6 type port-unreachable
+# reject with icmpv6 port-unreachable
 [
     {
         "reject": {
@@ -45,7 +45,7 @@
     }
 ]
 
-# reject with icmpv6 type policy-fail
+# reject with icmpv6 policy-fail
 [
     {
         "reject": {
@@ -55,7 +55,7 @@
     }
 ]
 
-# reject with icmpv6 type reject-route
+# reject with icmpv6 reject-route
 [
     {
         "reject": {