[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200427235051.250058-2-bpoirier@cumulusnetworks.com>
Date: Tue, 28 Apr 2020 08:50:45 +0900
From: Benjamin Poirier <bpoirier@...ulusnetworks.com>
To: netdev@...r.kernel.org
Subject: [PATCH iproute2 1/7] bridge: Use the same flag names in input and output
Output the same names for vlan flags as the ones accepted in command input.
Signed-off-by: Benjamin Poirier <bpoirier@...ulusnetworks.com>
---
bridge/vlan.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bridge/vlan.c b/bridge/vlan.c
index 205851e4..08b19897 100644
--- a/bridge/vlan.c
+++ b/bridge/vlan.c
@@ -398,10 +398,10 @@ static void print_vlan_flags(__u16 flags)
open_json_array(PRINT_JSON, "flags");
if (flags & BRIDGE_VLAN_INFO_PVID)
- print_string(PRINT_ANY, NULL, " %s", "PVID");
+ print_string(PRINT_ANY, NULL, " %s", "pvid");
if (flags & BRIDGE_VLAN_INFO_UNTAGGED)
- print_string(PRINT_ANY, NULL, " %s", "Egress Untagged");
+ print_string(PRINT_ANY, NULL, " %s", "untagged");
close_json_array(PRINT_JSON, NULL);
}
--
2.26.0
Powered by blists - more mailing lists