netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nft] tests: py: remove unknown fields
@ 2025-03-19 16:57 Pablo Neira Ayuso
  0 siblings, 0 replies; only message in thread
From: Pablo Neira Ayuso @ 2025-03-19 16:57 UTC (permalink / raw)
  To: netfilter-devel

Amend tests/py after libnftnl fixes:

 a7dfa49d34c7 ("expr: ct: print key name of id field")
 dba1b687a9a7 ("expr: payload: print tunnel header")

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
---
 tests/py/any/ct.t.payload      | 2 +-
 tests/py/inet/geneve.t.payload | 2 +-
 tests/py/inet/vxlan.t.payload  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/py/any/ct.t.payload b/tests/py/any/ct.t.payload
index 6016009425ec..645041341ca8 100644
--- a/tests/py/any/ct.t.payload
+++ b/tests/py/any/ct.t.payload
@@ -511,7 +511,7 @@ ip test-ip4 output
 
 # ct id 12345
 ip test-ip4 output
-  [ ct load unknown => reg 1 ]
+  [ ct load id => reg 1 ]
   [ cmp eq reg 1 0x39300000 ]
 
 # ct status ! dnat
diff --git a/tests/py/inet/geneve.t.payload b/tests/py/inet/geneve.t.payload
index 1ce54de6cd3a..5977873886af 100644
--- a/tests/py/inet/geneve.t.payload
+++ b/tests/py/inet/geneve.t.payload
@@ -4,7 +4,7 @@ ip test-ip4 input
   [ cmp eq reg 1 0x00000011 ]
   [ payload load 2b @ transport header + 2 => reg 1 ]
   [ cmp eq reg 1 0x0000c117 ]
-  [ inner type 2 hdrsize 8 flags f [ payload load 3b @ unknown header + 4 => reg 1 ] ]
+  [ inner type 2 hdrsize 8 flags f [ payload load 3b @ tunnel header + 4 => reg 1 ] ]
   [ cmp eq reg 1 0x000a0000 ]
 
 # udp dport 6081 geneve ip saddr 10.141.11.2
diff --git a/tests/py/inet/vxlan.t.payload b/tests/py/inet/vxlan.t.payload
index cde8e56f8b4b..b9e4ca2c57b0 100644
--- a/tests/py/inet/vxlan.t.payload
+++ b/tests/py/inet/vxlan.t.payload
@@ -4,7 +4,7 @@ netdev test-netdev ingress
   [ cmp eq reg 1 0x00000011 ]
   [ payload load 2b @ transport header + 2 => reg 1 ]
   [ cmp eq reg 1 0x0000b512 ]
-  [ inner type 1 hdrsize 8 flags f [ payload load 3b @ unknown header + 4 => reg 1 ] ]
+  [ inner type 1 hdrsize 8 flags f [ payload load 3b @ tunnel header + 4 => reg 1 ] ]
   [ cmp eq reg 1 0x000a0000 ]
 
 # udp dport 4789 vxlan ip saddr 10.141.11.2
-- 
2.30.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-19 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19 16:57 [PATCH nft] tests: py: remove unknown fields Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).