Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
6007cc9c
Commit
6007cc9c
authored
Nov 29, 2004
by
Timothy Stack
Browse files
Error out if the user tries to do "$ns run" more than once.
parent
f3314f0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/sim.tcl.in
View file @
6007cc9c
...
...
@@ -271,6 +271,11 @@ Simulator instproc run {} {
var_import ::GLOBALS::modelnet_edges
var_import ::GLOBALS::elab_in_elab
if
{
$ran
== 1
}
{
perror
"The Simulator 'run' statement can only be run once."
return
}
# Fill out IPs
if
{
! $use_ipassign
}
{
foreach obj
[
concat
[
array names lanlink_list
]]
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment