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-devel
Commits
a423c0e6
Commit
a423c0e6
authored
Nov 17, 2005
by
Timothy Stack
Browse files
Insert the initial trafgen events at the beginning of the eventlist.
parent
6e711ccb
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/ns2ir/sim.tcl.in
View file @
a423c0e6
...
...
@@ -652,8 +652,9 @@ Simulator instproc agentinit {agent} {
if
{[
$agent
info class Application/Traffic/CBR
]}
{
set event_count
[
expr $event_count + 1
]
lappend event_lis
t
[
list
\
set mod_even
t
[
list
\
"0"
[
$agent
get_node
]
$agent TRAFGEN MODIFY
[
$agent
get_params
]
""
]
$self
set event_list
[
linsert $event_list 0 $mod_event
]
}
}
...
...
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