From ade7338cdcf8679ad05537019e97304062c7196c Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Tue, 29 Jul 2014 13:52:40 +0000 Subject: [PATCH] fix bug #250 rj45 interface list cuts off long interface names (Boeing r1857) --- gui/editor.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }