[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200427235051.250058-1-bpoirier@cumulusnetworks.com>
Date: Tue, 28 Apr 2020 08:50:44 +0900
From: Benjamin Poirier <bpoirier@...ulusnetworks.com>
To: netdev@...r.kernel.org
Subject: [PATCH iproute2 0/7] bridge vlan output fixes
More fixes for `bridge vlan` and `bridge vlan tunnelshow` normal and JSON
mode output.
Most of the changes are cosmetic except for changes to JSON format (flag
names, no empty lists).
Benjamin Poirier (7):
bridge: Use the same flag names in input and output
bridge: Use consistent column names in vlan output
bridge: Fix typo
bridge: Fix output with empty vlan lists
json_print: Return number of characters printed
bridge: Align output columns
Replace open-coded instances of print_nl()
bridge/vlan.c | 115 +++++++++++++++--------
include/json_print.h | 24 +++--
lib/json_print.c | 95 ++++++++++++-------
tc/m_action.c | 14 +--
tc/m_connmark.c | 4 +-
tc/m_ctinfo.c | 4 +-
tc/m_ife.c | 4 +-
tc/m_mpls.c | 2 +-
tc/m_nat.c | 4 +-
tc/m_sample.c | 4 +-
tc/m_skbedit.c | 4 +-
tc/m_tunnel_key.c | 16 ++--
tc/q_taprio.c | 8 +-
tc/tc_util.c | 4 +-
testsuite/tests/bridge/vlan/show.t | 30 ++++++
testsuite/tests/bridge/vlan/tunnelshow.t | 2 +-
16 files changed, 212 insertions(+), 122 deletions(-)
create mode 100755 testsuite/tests/bridge/vlan/show.t
--
2.26.0
Powered by blists - more mailing lists