Commit 50515097 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add trafgen/reset event for Mike. The event only goes to the traffic

source, which is something of a problem. The ugly solution right now
is to send reset events to both the source and sink (sink first I
would think) if you need both sides to get it.

	$ns at 1 "$null0 reset"
	$ns at 1 "$cbr0 reset"

Another option might be to internally create the second event for
reset ...
parent fec09f29
......@@ -30,6 +30,7 @@
* Protos.
......@@ -297,6 +297,9 @@ Simulator instproc at {time eventstring} {
"stop" {
set etype STOP
"reset" {
set etype RESET
"set" {
if {[llength $event] < 4} {
perror "Wrong number of arguments: at $time $event"
Markdown is supported
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