This is early fallout from working on a merge of ebtables commandline parsers with the shared one. It is a mix of actual bug fixes, small improvements and an implementaion of --change-counters command for ebtables-nft. Phil Sutter (12): Makefile: Install arptables-translate link and man page nft-bridge: nft_bridge_add() uses wrong flags xshared: struct xt_cmd_parse::xlate is unused xshared: All variants support -v, update OPTSTRING_COMMON xshared: Drop needless assignment in --help case xshared: Drop pointless CMD_REPLACE check tests: xlate: Print failing command line ebtables: Drop append_entry() wrapper ebtables: Make ebt_load_match_extensions() static ebtables: Align line number formatting with legacy xshared: do_parse: Ignore '-j CONTINUE' ebtables: Implement --change-counters command iptables/Makefile.am | 11 +- iptables/nft-bridge.c | 6 +- iptables/nft-bridge.h | 1 - iptables/nft-cmd.c | 20 ++++ iptables/nft-cmd.h | 12 +++ iptables/nft.c | 65 +++++++++++ iptables/nft.h | 1 + .../testcases/ebtables/0010-change-counters_0 | 45 ++++++++ iptables/xshared.c | 11 +- iptables/xshared.h | 9 +- iptables/xtables-eb.c | 102 ++++++++++-------- iptables/xtables-translate.8 | 12 ++- iptables/xtables-translate.c | 1 - xlate-test.py | 5 +- 14 files changed, 229 insertions(+), 72 deletions(-) create mode 100755 iptables/tests/shell/testcases/ebtables/0010-change-counters_0 -- 2.41.0