diff options
Diffstat (limited to 'etc/inc/shaper.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; |