Merge pull request #109 from coreemu/bugfix/issue24-fix-throughput-widget
Bugfix/issue24 fix Throughput Widget resolves #108
This commit is contained in:
commit
c7324dbb45
1 changed files with 2 additions and 1 deletions
|
@ -924,7 +924,8 @@ 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 "veth$node_num\\.[string range $ifname 3 end]\\.*"
|
||||
set hex [format "%x" $node_num]
|
||||
set ifname "veth$hex\\.[string range $ifname 3 end]\\.*"
|
||||
return $ifname
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue