diff options
author | Phil Sutter <phil@nwl.cc> | 2021-10-21 13:04:45 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2021-12-16 14:30:29 +0100 |
commit | 56ac0452a4968f1af8d3ad1717c8646593177155 (patch) | |
tree | 6ad235caf1c5ccf8fa24f3b737b2cf3ae1aaafbd /m4 | |
parent | 4149b5d836340c744c78f303e2a877a89c271000 (diff) |
xshared: Share a common printhelp function
Help texts in legacy and nft variants are supposed to be identical, but
those of iptables and ip6tables largely overlapped already. By referring
to xt_params and afinfo pointers, it is relatively trivial to craft a
suitable help text on demand, so duplicated help texts can be
eliminated.
As a side-effect, this fixes ip6tables-nft help text - it was identical
to that of iptables-nft.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions