diff --git a/gui/editor.tcl b/gui/editor.tcl index 0a69b2bc..0e88eb06 100755 --- a/gui/editor.tcl +++ b/gui/editor.tcl @@ -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] }