41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
|
From 28a6ef808bd5c196c2259f7841a97c1ba703479d Mon Sep 17 00:00:00 2001
|
||
|
From: Andrea Claudi <aclaudi@redhat.com>
|
||
|
Date: Thu, 30 Apr 2020 12:32:41 +0200
|
||
|
Subject: [PATCH] ip link: xstats: fix TX IGMP reports string
|
||
|
|
||
|
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1796041
|
||
|
Upstream Status: iproute2.git commit 5cdeb77cd6ec2
|
||
|
|
||
|
commit 5cdeb77cd6ec26f0a7103dfb21494a6a43903206
|
||
|
Author: Andrea Claudi <aclaudi@redhat.com>
|
||
|
Date: Wed Jan 29 15:31:11 2020 +0100
|
||
|
|
||
|
ip link: xstats: fix TX IGMP reports string
|
||
|
|
||
|
This restore the string format we have before jsonification, adding a
|
||
|
missing space between v2 and v3 on TX IGMP reports string.
|
||
|
|
||
|
Fixes: a9bc23a79227a ("ip: bridge: add xstats json support")
|
||
|
Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
|
||
|
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
|
||
|
---
|
||
|
ip/iplink_bridge.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/ip/iplink_bridge.c b/ip/iplink_bridge.c
|
||
|
index 06f736d4dc710..868ea6e266ebe 100644
|
||
|
--- a/ip/iplink_bridge.c
|
||
|
+++ b/ip/iplink_bridge.c
|
||
|
@@ -742,7 +742,7 @@ static void bridge_print_stats_attr(struct rtattr *attr, int ifindex)
|
||
|
print_string(PRINT_FP, NULL, "%-16s ", "");
|
||
|
print_u64(PRINT_ANY, "tx_v1", "TX: v1 %llu ",
|
||
|
mstats->igmp_v1reports[BR_MCAST_DIR_TX]);
|
||
|
- print_u64(PRINT_ANY, "tx_v2", "v2 %llu",
|
||
|
+ print_u64(PRINT_ANY, "tx_v2", "v2 %llu ",
|
||
|
mstats->igmp_v2reports[BR_MCAST_DIR_TX]);
|
||
|
print_u64(PRINT_ANY, "tx_v3", "v3 %llu\n",
|
||
|
mstats->igmp_v3reports[BR_MCAST_DIR_TX]);
|
||
|
--
|
||
|
2.25.4
|
||
|
|