From 2486fe3ae53385b29a3a29c8a2a0c8999e85a322 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Wed, 19 Mar 2025 16:22:55 +0100 Subject: [PATCH] tests: py: remove unknown fields 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 --- 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 601600942..645041341 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 1ce54de6c..597787388 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 cde8e56f8..b9e4ca2c5 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.47.2