diff mbox

[iproute2,net-next] bridge: vlan: remove wrong stats help

Message ID 1476277348-32302-1-git-send-email-nikolay@cumulusnetworks.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Nikolay Aleksandrov Oct. 12, 2016, 1:02 p.m. UTC
When I did the per-vlan stats iproute2 support, I left out a hunk from a
previous version of the patch that was using a special subcommand "stats".
Since the latest version uses the -s switch remove the help for the stats
subcommand.

Fixes: 7abf5de677e32 ("bridge: vlan: add support to display per-vlan statistics")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
---
The commit is only in iproute2 net-next branch.

 bridge/vlan.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stephen Hemminger Oct. 17, 2016, 12:23 p.m. UTC | #1
On Wed, 12 Oct 2016 15:02:28 +0200
Nikolay Aleksandrov <nikolay@cumulusnetworks.com> wrote:

> When I did the per-vlan stats iproute2 support, I left out a hunk from a
> previous version of the patch that was using a special subcommand "stats".
> Since the latest version uses the -s switch remove the help for the stats
> subcommand.
> 
> Fixes: 7abf5de677e32 ("bridge: vlan: add support to display per-vlan statistics")
> Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
> ---
> The commit is only in iproute2 net-next branch.
> 
>  bridge/vlan.c | 1 -
>  1 file changed, 1 deletion(-)

Applied thanks.
diff mbox

Patch

diff --git a/bridge/vlan.c b/bridge/vlan.c
index 0b6c69077160..ebcdacee309b 100644
--- a/bridge/vlan.c
+++ b/bridge/vlan.c
@@ -24,7 +24,6 @@  static void usage(void)
 	fprintf(stderr, "Usage: bridge vlan { add | del } vid VLAN_ID dev DEV [ pvid ] [ untagged ]\n");
 	fprintf(stderr, "                                                     [ self ] [ master ]\n");
 	fprintf(stderr, "       bridge vlan { show } [ dev DEV ] [ vid VLAN_ID ]\n");
-	fprintf(stderr, "       bridge vlan { stats } [ dev DEV ] [ vid VLAN_ID ]\n");
 	exit(-1);
 }