fix bug #250 rj45 interface list cuts off long interface names
(Boeing r1857)
This commit is contained in:
parent
42f176e1ec
commit
ade7338cdc
1 changed files with 1 additions and 1 deletions
|
@ -4656,7 +4656,7 @@ proc rj45ifclist { wi node wasclicked } {
|
|||
set ifip ""
|
||||
}
|
||||
if { [string match "*Link encap:*" $line] } {
|
||||
set ifname [string trim [string range $line 0 9]]
|
||||
set ifname [lindex [split $line " "] 0]
|
||||
} else {
|
||||
set ifname [lindex [split $line :] 0]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue