fix bug #257 use correct interface name for throughput widget and plots
(Boeing r1876)
This commit is contained in:
parent
3d6fa0531e
commit
1973eb9313
1 changed files with 1 additions and 1 deletions
|
@ -908,7 +908,7 @@ proc getstats_link_ifname { link } {
|
||||||
# TODO: need to determine session number used by daemon
|
# TODO: need to determine session number used by daemon
|
||||||
# instead this uses a '*' character for a regexp match against
|
# instead this uses a '*' character for a regexp match against
|
||||||
# the interfaces in /proc/net/dev
|
# the interfaces in /proc/net/dev
|
||||||
set ifname "n$node_num\\.$ifname\\.*"
|
set ifname "veth$node_num\\.[string range $ifname 3 end]\\.*"
|
||||||
return $ifname
|
return $ifname
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue