Commit a423c0e6 authored by Timothy Stack's avatar Timothy Stack
Browse files

Insert the initial trafgen events at the beginning of the eventlist.

parent 6e711ccb
......@@ -652,8 +652,9 @@ Simulator instproc agentinit {agent} {
if {[$agent info class Application/Traffic/CBR]} {
set event_count [expr $event_count + 1]
lappend event_list [list \
set mod_event [list \
"0" [$agent get_node] $agent TRAFGEN MODIFY [$agent get_params] ""]
$self set event_list [linsert $event_list 0 $mod_event]
}
}
......
Supports Markdown
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