Skip to content
GitLab
Menu
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-stable
Commits
8bfdaf86
Commit
8bfdaf86
authored
Sep 13, 2006
by
Mike Hibler
Browse files
Make sure make_events recognizes cloud create and clear events
so they can be used in sequences.
parent
4ae995ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/sim.tcl.in
View file @
8bfdaf86
...
...
@@ -1297,6 +1297,8 @@ Simulator instproc make_event {outer event} {
set vname $obj
switch -- $cmd
{
"create"
{
set etype CREATE
}
"clear"
{
set etype CLEAR
}
"up"
{
set etype UP
}
"down"
{
set etype DOWN
}
"bandwidth"
{
...
...
@@ -1704,7 +1706,7 @@ Simulator instproc make_event {outer event} {
}
if
{
$otype ==
""
}
{
perror
"
\[
make_event] otype was empty; event
was
$event
"
perror
"
\[
make_event] otype was empty; event
$event
, class
$cl
"
}
return
[
list $vnode $vname $otype $etype $args $atstring
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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