fix bug #257 use correct interface name for throughput widget and plots

(Boeing r1876)
This commit is contained in:
ahrenholz 2014-08-06 18:23:04 +00:00
parent 3d6fa0531e
commit 1973eb9313

View file

@ -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
}