From: marko Date: Fri, 23 Mar 2007 11:27:37 +0000 (+0000) Subject: Bug found by: Miljenko X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=0b92ca35ba001d0cfd10bce801e20b10507468ac;p=imunes.git Bug found by: Miljenko Submitted by: Requested by: Reviewed by: Approved by: Obtained from: After moving a ng_iface interface to another vimage, "touch" it by doing a no-op ifconfig on it. This was an old hack that allowed the kernel to rename the corresponding netgraph node, so we need this for running IMUNES with kernels older then Nov 23 2006, when the renaming problem was fixed in the kernel. In effect this and previous commit by Miljenko back out revision 1.36 of exec.tcl. --- diff --git a/exec.tcl b/exec.tcl index 83a1ef7..5ce9693 100755 --- a/exec.tcl +++ b/exec.tcl @@ -319,6 +319,7 @@ 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 } } }