diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-16 13:49:08 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-06-18 09:40:20 +0200 |
commit | a5674886b45c9b3489aef8cc7435dd85afa9494a (patch) | |
tree | 476ff27ba9faacfa1e217f643ff87f143cea9208 /tests/py/ip/ip.t | |
parent | bd51f04f73bd585f6e3f9ed82a5db7d9640198b8 (diff) |
evaluate: unbreak verdict maps with implicit map with interval concatenations
Verdict maps in combination with interval concatenations are broken, e.g.
# nft add rule x y tcp dport . ip saddr vmap { 1025-65535 . 192.168.10.2 : accept }
Retrieve the concatenation field length and count from the map->map
expressions that represents the key of the implicit map.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/ip/ip.t')
-rw-r--r-- | tests/py/ip/ip.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/py/ip/ip.t b/tests/py/ip/ip.t index b74d465f..f4a3667c 100644 --- a/tests/py/ip/ip.t +++ b/tests/py/ip/ip.t @@ -125,3 +125,4 @@ iif "lo" ip dscp set af23;ok iif "lo" ip dscp set cs0;ok ip saddr . ip daddr { 192.0.2.1 . 10.0.0.1-10.0.0.2 };ok +ip saddr . ip daddr vmap { 192.168.5.1-192.168.5.128 . 192.168.6.1-192.168.6.128 : accept };ok |