summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_DNAT.c
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-03-30 00:17:09 +0200
committerPhil Sutter <phil@nwl.cc>2022-04-08 18:00:42 +0200
commit2e0c9a406d07fcff42b2e4345bf52600479989d6 (patch)
treeec10ece717e287c1666a75829088e27629e7ce6e /extensions/libxt_DNAT.c
parent7adef31421bc38c068e2e30720b61dc068c0d63f (diff)
extensions: ipt_DNAT: Combine xlate functions also
Make use of the new sprint_range() to introduce a common inner function for both v1 and v2 xlate functions. Also abort translation with shifted port ranges to not hide the missing feature in nftables. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_DNAT.c')
0 files changed, 0 insertions, 0 deletions