]> git.entuzijast.net Git - imunes.git/commitdiff
Given that now the kernel automatically renames netgraph interfaces
authormarko <marko>
Thu, 23 Nov 2006 11:52:24 +0000 (11:52 +0000)
committermarko <marko>
Thu, 23 Nov 2006 11:52:24 +0000 (11:52 +0000)
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

index 55a29015ec7dca83aee9df4871212b3ec2f198bb..da9fb96c65a9e424286765c1de3560ecebde5931 100755 (executable)
--- 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
            }
        }
     }