Révision c90d37f3
Ajouté par jim-p il y a presque 10 ans
etc/inc/shaper.inc | ||
---|---|---|
3171 | 3171 |
if (filter_get_time_based_rule_status($schedule)) { |
3172 | 3172 |
$pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; |
3173 | 3173 |
if (is_numeric($bw['burst']) && ($bw['burst'] > 0)) |
3174 |
$pfq_rule .= " burst ".trim($bw['burst']).$bw['bwscale'];
|
|
3174 |
$pfq_rule .= " burst ".trim($bw['burst']); |
|
3175 | 3175 |
$found = true; |
3176 | 3176 |
break; |
3177 | 3177 |
} |
... | ... | |
3185 | 3185 |
} else { |
3186 | 3186 |
$pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; |
3187 | 3187 |
if (is_numeric($bw['burst']) && ($bw['burst'] > 0)) |
3188 |
$pfq_rule .= " burst ".trim($bw['burst']).$bw['bwscale'];
|
|
3188 |
$pfq_rule .= " burst ".trim($bw['burst']); |
|
3189 | 3189 |
$found = true; |
3190 | 3190 |
break; |
3191 | 3191 |
} |
Formats disponibles : Unified diff
Remove units from burst as it is always specified in bytes. (Per ipfw(8)).
Worked for me in testing, I watched a file briefly burst until and then be clamped down to the limiter's rate.