netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH nft] tests: py: remove unknown fields
Date: Wed, 19 Mar 2025 17:57:52 +0100	[thread overview]
Message-ID: <20250319165752.1856-1-pablo@netfilter.org> (raw)

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


                 reply	other threads:[~2025-03-19 16:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250319165752.1856-1-pablo@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).