Commit 3bfb116f authored by Mike Hibler's avatar Mike Hibler
Browse files

Squash a mistake that should never have happened: called the event

string "QOS" when it should be "IPTOS".
parent bb03fd52
...@@ -303,7 +303,7 @@ parse_args(char *buf, tg_action *tg) ...@@ -303,7 +303,7 @@ parse_args(char *buf, tg_action *tg)
if (sscanf(cp, "RATE=%i", &rate) == 1) if (sscanf(cp, "RATE=%i", &rate) == 1)
continue; continue;
if (sscanf(cp, "QOS=%i", &qos) == 1) if (sscanf(cp, "IPTOS=%i", &qos) == 1)
continue; continue;
} }
} }
......
...@@ -440,7 +440,7 @@ Simulator instproc at {time eventstring} { ...@@ -440,7 +440,7 @@ Simulator instproc at {time eventstring} {
set args "INTERVAL=$arg" set args "INTERVAL=$arg"
} }
"iptos_" { "iptos_" {
set args "QOS=$arg" set args "IPTOS=$arg"
} }
unknown { unknown {
punsup "at $time $event" punsup "at $time $event"
......
...@@ -533,9 +533,9 @@ Application/Traffic/CBR instproc get_params {} { ...@@ -533,9 +533,9 @@ Application/Traffic/CBR instproc get_params {} {
} }
if {$iptos_ != {} && $iptos_ != 0} { if {$iptos_ != {} && $iptos_ != 0} {
set param "$param QOS=$iptos_" set param "$param IPTOS=$iptos_"
} else { } else {
set param "$param QOS=-1" set param "$param IPTOS=-1"
} }
return $param return $param
......
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