From c276ec1cfbee4c0315fbc10d8e509e687b82a836 Mon Sep 17 00:00:00 2001 From: marko Date: Thu, 23 Nov 2006 11:52:24 +0000 Subject: [PATCH] Given that now the kernel automatically renames netgraph interfaces when moved from one vimage to another, remove unneeded ifconfig calls that previously preformed this job. Bug found by: Ivan Babic Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- exec.tcl | 2 -- 1 file changed, 2 deletions(-) diff --git a/exec.tcl b/exec.tcl index 55a2901..da9fb96 100755 --- a/exec.tcl +++ b/exec.tcl @@ -307,7 +307,6 @@ proc l3node.instantiate { eid node } { eth { set ifid [createIfc eiface ether] nexec vimage -i $node_id $ifid $ifc - nexec vimage $node_id ifconfig $ifc set ether 40:00:aa:aa:$mac_byte4:$mac_byte5 incr mac_byte5 if { $mac_byte5 >= 100 } { @@ -324,7 +323,6 @@ proc l3node.instantiate { eid node } { nexec ngctl msg $ifid: broadcast nexec ngctl name $ifid:inet hdlc$ifnum\@$node_id nexec vimage -i $node_id $ifid $ifc - nexec vimage $node_id ifconfig $ifc } } } -- 2.39.5