fix bug #250 rj45 interface list cuts off long interface names

(Boeing r1857)
This commit is contained in:
ahrenholz 2014-07-29 13:52:40 +00:00
parent 42f176e1ec
commit ade7338cdc

View file

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