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

Make lanstr valid NS syntax.

parent 7d6872fe
...@@ -7,8 +7,7 @@ set lanstr "" ...@@ -7,8 +7,7 @@ set lanstr ""
for {set i 1} {$i <= $maxnodes} {incr i} { for {set i 1} {$i <= $maxnodes} {incr i} {
set node($i) [$ns node] set node($i) [$ns node]
set name node-${i} append lanstr "$node($i) "
append lanstr "$name "
tb-set-node-os $node($i) FBSD-STD tb-set-node-os $node($i) FBSD-STD
} }
......
<!-- <!--
EMULAB-COPYRIGHT 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. All rights reserved.
--> -->
<center> <center>
...@@ -252,8 +252,7 @@ example of a simple loop: ...@@ -252,8 +252,7 @@ example of a simple loop:
for {set i 1} {$i <= $maxnodes} {incr i} { for {set i 1} {$i <= $maxnodes} {incr i} {
set node($i) [$ns node] set node($i) [$ns node]
set name node-${i} append lanstr "$node($i) "
append lanstr "$name "
tb-set-node-os $node($i) FBSD-STD 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