Commit abab0f6d authored by Shashi Guruprasad's avatar Shashi Guruprasad
Browse files

Fixed the make-lan example syntax to be consistent and compatible with NS.

Refer http://www.isi.edu/nsnam/ns/doc/node125.html
parent d2360b6d
......@@ -783,7 +783,7 @@ route to an entire LAN. It would be tedious and error prone to specify
a route to each node in a LAN by hand. Instead, just route to the
entire network:
<code><pre>
set clientlan [$ns make-lan "nodeE nodeF nodeG" 100Mb 0ms]
set clientlan [$ns make-lan "$nodeE $nodeF $nodeG" 100Mb 0ms]
$nodeA add-route $clientlan $nodeB
</pre></code>
......
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