]> git.ipfire.org Git - thirdparty/iptables.git/commit
extensions: tcp/udp: Save/xlate inverted full ranges
authorPhil Sutter <phil@nwl.cc>
Thu, 1 Feb 2024 16:42:12 +0000 (17:42 +0100)
committerPhil Sutter <phil@nwl.cc>
Fri, 2 Feb 2024 17:26:14 +0000 (18:26 +0100)
commita86eb41ef2987a9f99cb2ef644fbe2a2096d58b2
tree5a7f749ced799036f30e405e19fd5a5a5ff0f7c9
parent4195a89ab2e2bd690ba255e40a5c3d309f031796
extensions: tcp/udp: Save/xlate inverted full ranges

Also translate a bare '-m tcp/udp' to 'meta l4proto' match.

Fixes: 04f569ded54a7 ("extensions: libxt_udp: add translation to nft")
Fixes: fb2593ebbf656 ("extensions: libxt_tcp: add translation to nft")
Signed-off-by: Phil Sutter <phil@nwl.cc>
extensions/libxt_tcp.c
extensions/libxt_tcp.t
extensions/libxt_tcp.txlate
extensions/libxt_udp.c
extensions/libxt_udp.t
extensions/libxt_udp.txlate