summaryrefslogtreecommitdiffstats
path: root/files/nftables
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2023-02-02 21:47:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2023-02-02 22:04:13 +0100
commitb691e2ea1d643adeb89c576a105f08cfff677cfb (patch)
tree8c89d55d948091ea84177ba6f02fd34ada21f900 /files/nftables
parent9dbbf397b2f3d9fa40454648cb98c13c7c5515b7 (diff)
optimize: fix incorrect expansion into concatenation with verdict mapHEADmaster
# nft -c -o -f ruleset.nft Merging: ruleset.nft:3:3-53: meta pkttype broadcast udp dport { 67, 547 } accept ruleset.nft:4:17-58: meta pkttype multicast udp dport 1900 drop into: meta pkttype . udp dport vmap { broadcast . { 67, 547 } : accept, multicast . 1900 : drop } ruleset.nft:3:38-39: Error: invalid data type, expected concatenation of (packet type, internet network service) meta pkttype broadcast udp dport { 67, 547 } accept ^^ Similar to 187c6d01d357 ("optimize: expand implicit set element when merging into concatenation") but for verdict maps. Reported-by: Simon G. Trajkovski <neur0armitage@proton.me> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files/nftables')
0 files changed, 0 insertions, 0 deletions