diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-07 12:21:28 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-11 10:05:26 +0100 |
commit | 8e9807c04b23eb1ffb979f972c0f6061aaaabfeb (patch) | |
tree | d275419a1102564e9a92cc20b4ccd46d8a9d7f13 /tests/shell/testcases/maps/dumps/0012map_0.nft | |
parent | b95bbe966bd2431fee7b19aa0902aba10f9be696 (diff) |
tests: shell: split map test
Split interval + concatenation into a separated file, so older kernels
with no pipapo can still run what it is supported.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell/testcases/maps/dumps/0012map_0.nft')
-rw-r--r-- | tests/shell/testcases/maps/dumps/0012map_0.nft | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/shell/testcases/maps/dumps/0012map_0.nft b/tests/shell/testcases/maps/dumps/0012map_0.nft index 895490cf..e734fc1c 100644 --- a/tests/shell/testcases/maps/dumps/0012map_0.nft +++ b/tests/shell/testcases/maps/dumps/0012map_0.nft @@ -6,20 +6,7 @@ table ip x { "eth1" : drop } } - map w { - typeof ip saddr . meta mark : verdict - flags interval - counter - elements = { 127.0.0.1-127.0.0.4 . 0x00123434-0x00b00122 counter packets 0 bytes 0 : accept } - } - chain y { iifname vmap { "lo" : accept, "eth0" : drop, "eth1" : drop } } - - chain k { - type filter hook input priority filter + 1; policy accept; - meta mark set 0x00123434 - ip saddr . meta mark vmap @w - } } |