deployCfg would break when attempting to connect an rj45 node to
whatever is on the other side of the link.
With this change plus a kernel-level fix to be submitted to p4
shortly communication to external world via "rj45" nodes should
work properly.
Bug found by:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
-# $Id: rj45.tcl,v 1.9 2007/05/07 08:43:20 ana Exp $
+# $Id: rj45.tcl,v 1.10 2007/08/30 18:54:35 marko Exp $
#
# Copyright 2005 University of Zagreb, Croatia. All rights reserved.
#
#****
proc $MODULE.instantiate { eid node } {
+ global ngnodemap
+
set ifname [getNodeName $node]
+ set ngnodemap($ifname) $ifname
nexec ifconfig $ifname up promisc
}