diff options
author | jim-p <jimp@pfsense.org> | 2013-06-18 11:57:20 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-06-18 11:57:49 -0400 |
commit | e43fa2ac995158553a47a0169bfd4946fe44a81b (patch) | |
tree | 403f3cb9c0daa6bfb3dac03330afcc9748988e5c /etc/inc | |
parent | 114219967591f34ec7ff975bfd20a488ddf649e1 (diff) | |
download | pfsense-e43fa2ac995158553a47a0169bfd4946fe44a81b.zip pfsense-e43fa2ac995158553a47a0169bfd4946fe44a81b.tar.gz |
Burst of 0 is also valid
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 5f5fc8d..f69b9c7 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3165,7 +3165,7 @@ class dnpipe_class extends dummynet_class { if ($bw['bwsched'] == $schedule['name']) { if (filter_get_time_based_rule_status($schedule)) { $pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; - if ($bw['burst'] > 0) + if ($bw['burst'] >= 0) $pfq_rule .= " burst ".trim($bw['burst']).$bw['bwscale']; $found = true; break; @@ -3180,7 +3180,7 @@ class dnpipe_class extends dummynet_class { } } else { $pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; - if ($bw['burst'] > 0) + if ($bw['burst'] >= 0) $pfq_rule .= " burst ".trim($bw['burst']).$bw['bwscale']; $found = true; break; |