Skip to content

Misc fixes (more or less)

Phil Sutter netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12Makefile: Install arptables-translate link and man pageiptables/Makefile.am iptables/xtables-translate.8+15 -80 replies
2/12nft-bridge: nft_bridge_add() uses wrong flagsiptables/nft-bridge.c+2 -20 replies
3/12xshared: struct xt_cmd_parse::xlate is unusediptables/xshared.h iptables/xtables-translate.c+0 -20 replies
4/12xshared: All variants support -viptables/xshared.h+4 -40 replies
5/12xshared: Drop needless assignment in --help caseiptables/xshared.c+0 -30 replies
6/12xshared: Drop pointless CMD_REPLACE checkiptables/xshared.c+0 -50 replies
7/12tests: xlate: Print failing command linexlate-test.py+3 -20 replies
8/12ebtables: Drop append_entry() wrapperiptables/xtables-eb.c+4 -220 replies
9/12ebtables: Make ebt_load_match_extensions() staticiptables/nft-bridge.h iptables/xtables-eb.c+1 -20 replies
10/12ebtables: Align line number formatting with legacyiptables/nft-bridge.c+1 -10 replies
11/12xshared: do_parse: Ignore '-j CONTINUE'iptables/xshared.c+2 -10 replies
12/12ebtables: Implement --change-counters commandiptables/nft-cmd.c iptables/nft-cmd.h iptables/nft.c +3 more+197 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [iptables PATCH 00/12] Misc fixes (more or less)

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
Signature · 1 line
2.41.0