summaryrefslogtreecommitdiffstats
path: root/extensions/libebt_ip6.t
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-03-30 00:11:14 +0200
committerPhil Sutter <phil@nwl.cc>2022-04-08 18:00:42 +0200
commit7adef31421bc38c068e2e30720b61dc068c0d63f (patch)
treecc7cbdec5cd6a1dcc5c6e1bc3495663cb4e6babe /extensions/libebt_ip6.t
parent3f4f1cf075572045a910b5c4d625602b9ba3c349 (diff)
extensions: ipt_DNAT: Merge v1/v2 print/save code
Turn print_range() function into sprint_range() so it becomes more versatile. Make it accept the new nf_nat_range2 data structure and make v1 callers convert their nf_nat_ipv4_multi_range_compat structs to that. This allows to introduce an inner __DNAT_print() which acts for v1 and v2 and prints either 'print' or 'save' syntax. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libebt_ip6.t')
0 files changed, 0 insertions, 0 deletions