]> git.entuzijast.net Git - imunes.git/commitdiff
Bug found by: Miljenko
authormarko <marko>
Fri, 23 Mar 2007 11:27:37 +0000 (11:27 +0000)
committermarko <marko>
Fri, 23 Mar 2007 11:27:37 +0000 (11:27 +0000)
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

index 83a1ef7202529462c85ea4c39d81faf5aeb227fc..5ce969335bc78426f4438e389c43a7b721f665c5 100755 (executable)
--- 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
            }
        }
     }