From 0b92ca35ba001d0cfd10bce801e20b10507468ac Mon Sep 17 00:00:00 2001 From: marko Date: Fri, 23 Mar 2007 11:27:37 +0000 Subject: [PATCH] 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. --- exec.tcl | 1 + 1 file changed, 1 insertion(+) 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 } } } -- 2.39.5