From: marko Date: Thu, 30 Aug 2007 23:57:50 +0000 (+0000) Subject: Lift the prohibition from configuring link emulation parameters X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=a339e4febccd962a083ac1400090be7e82872ac2;p=imunes.git Lift the prohibition from configuring link emulation parameters on links terminating in rj45 nodes, given that exec.tcl already inserts a ng_pipe instance between rj45 and whatever is on the other side of the link. This change also revealed a bug in ng_pipe that will be fixed soon in p4 after a little bit more of testing. Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- diff --git a/editor.tcl b/editor.tcl index 7a31b28..6b566d8 100755 --- a/editor.tcl +++ b/editor.tcl @@ -1,4 +1,4 @@ -# $Id: editor.tcl,v 1.75 2007/08/30 23:19:21 marko Exp $ +# $Id: editor.tcl,v 1.76 2007/08/30 23:57:50 marko Exp $ # # Copyright 2004, 2005 University of Zagreb, Croatia. All rights reserved. # @@ -2031,10 +2031,6 @@ proc popupConfigDialog { c } { if { $object_type == "link" } { set n0 [lindex [linkPeers $target] 0] set n1 [lindex [linkPeers $target] 1] - if { [nodeType $n0] == "rj45" || [nodeType $n1] == "rj45" } { - destroy $wi - return - } } $c dtag node selected $c delete -withtags selectmark