Skip to content
Snippets Groups Projects
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.

parent d2360b6d
No related merge requests found
...@@ -783,7 +783,7 @@ route to an entire LAN. It would be tedious and error prone to specify ...@@ -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 a route to each node in a LAN by hand. Instead, just route to the
entire network: entire network:
<code><pre> <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 $nodeA add-route $clientlan $nodeB
</pre></code> </pre></code>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment