summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-09-05 11:16:43 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-21 12:04:37 +0200
commit8f55ed41d007061bd8aae94fee2bda172c0e8996 (patch)
tree719531822c39a05e6370d6abe921bd4eb17f5dea /tests
parent04ca9a6ba3ca369053e9b5951f2f85bf8fe98e72 (diff)
src: rename meta secpath to meta ipsec
for symmetry with 'rt ipsec'. "meta secpath" still works. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/py/inet/meta.t4
-rw-r--r--tests/py/inet/meta.t.payload2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/py/inet/meta.t b/tests/py/inet/meta.t
index 644a96fd..df32332f 100644
--- a/tests/py/inet/meta.t
+++ b/tests/py/inet/meta.t
@@ -12,7 +12,7 @@ meta nfproto ipv4 tcp dport 22;ok
meta nfproto ipv4 ip saddr 1.2.3.4;ok;ip saddr 1.2.3.4
meta nfproto ipv6 meta l4proto tcp;ok;meta nfproto ipv6 meta l4proto 6
meta nfproto ipv4 counter ip saddr 1.2.3.4;ok
-meta secpath exists;ok
-meta secpath missing;ok
+meta ipsec exists;ok
+meta secpath missing;ok;meta ipsec missing
meta ibrname "br0";fail
meta obrname "br0";fail
diff --git a/tests/py/inet/meta.t.payload b/tests/py/inet/meta.t.payload
index 2d0a66fa..d7ff7e2d 100644
--- a/tests/py/inet/meta.t.payload
+++ b/tests/py/inet/meta.t.payload
@@ -64,7 +64,7 @@ inet test-inet input
[ payload load 4b @ network header + 12 => reg 1 ]
[ cmp eq reg 1 0x04030201 ]
-# meta secpath exists
+# meta ipsec exists
inet test-inet input
[ meta load secpath => reg 1 ]
[ cmp eq reg 1 0x00000001 ]