From 3e7bbdfd961f4087898edfeafe51c357cbe336ff Mon Sep 17 00:00:00 2001 From: "ahrenholz@gmail.com" Date: Wed, 6 Aug 2014 18:23:04 +0000 Subject: [PATCH] fix bug #257 use correct interface name for throughput widget and plots (Boeing r1876) --- trunk/gui/widget.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/gui/widget.tcl b/trunk/gui/widget.tcl index d8717bdd..49f43ed9 100755 --- a/trunk/gui/widget.tcl +++ b/trunk/gui/widget.tcl @@ -908,7 +908,7 @@ proc getstats_link_ifname { link } { # TODO: need to determine session number used by daemon # instead this uses a '*' character for a regexp match against # the interfaces in /proc/net/dev - set ifname "n$node_num\\.$ifname\\.*" + set ifname "veth$node_num\\.[string range $ifname 3 end]\\.*" return $ifname }