The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/1831
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Closes #1825 Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 3119b5a79c2c4d7e0476e21026fa2e2bea1525c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Wed, 30 Mar 2016 12:18:38 -0400 Subject: [PATCH] Fix wrong packets sent value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #1825 Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxc/info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/info.go b/lxc/info.go index 58e495c..99033b6 100644 --- a/lxc/info.go +++ b/lxc/info.go @@ -165,7 +165,7 @@ func (c *infoCmd) containerInfo(d *lxd.Client, name string, showLog bool) error networkInfo += fmt.Sprintf(" %s: %s\n", i18n.G("Bytes received"), shared.GetByteSizeString(net.Counters.BytesReceived)) networkInfo += fmt.Sprintf(" %s: %s\n", i18n.G("Bytes sent"), shared.GetByteSizeString(net.Counters.BytesSent)) networkInfo += fmt.Sprintf(" %s: %d\n", i18n.G("Packets received"), net.Counters.PacketsReceived) - networkInfo += fmt.Sprintf(" %s: %d\n", i18n.G("Packets sent"), net.Counters.PacketsReceived) + networkInfo += fmt.Sprintf(" %s: %d\n", i18n.G("Packets sent"), net.Counters.PacketsSent) } if networkInfo != "" {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel