Commit 1c9fe840 authored by Timothy Stack's avatar Timothy Stack

Make lanstr valid NS syntax.

parent 7d6872fe
......@@ -7,8 +7,7 @@ set lanstr ""
for {set i 1} {$i <= $maxnodes} {incr i} {
set node($i) [$ns node]
set name node-${i}
append lanstr "$name "
append lanstr "$node($i) "
tb-set-node-os $node($i) FBSD-STD
}
......
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-2005 University of Utah and the Flux Group.
Copyright (c) 2000-2006 University of Utah and the Flux Group.
All rights reserved.
-->
<center>
......@@ -252,8 +252,7 @@ example of a simple loop:
for {set i 1} {$i <= $maxnodes} {incr i} {
set node($i) [$ns node]
set name node-${i}
append lanstr "$name "
append lanstr "$node($i) "
tb-set-node-os $node($i) FBSD-STD
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment