diff options
author | Ermal <eri@pfsense.org> | 2012-11-07 15:19:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-11-07 15:19:30 +0000 |
commit | ec091c89f88798af1593ebd60d587ad2fc4ef4b8 (patch) | |
tree | 5f93cdae0845ec50c8aadc7e3d38e7d8800875a8 /etc/inc | |
parent | 34811aa7c0c0d411eb3b733c850964a72eb1c50c (diff) | |
download | pfsense-ec091c89f88798af1593ebd60d587ad2fc4ef4b8.zip pfsense-ec091c89f88798af1593ebd60d587ad2fc4ef4b8.tar.gz |
break the loop for none schedule limiters
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 8bf7e94..b93ec9f 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3017,12 +3017,15 @@ class dnpipe_class extends dummynet_class { } } else $pfq_rule .= " bw 0"; - } else + } else { $pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; + break; + } } if ($found == false) $pfq_rule .= " bw 0"; - } + } else + $pfq_rule .= " bw 0"; if ($this->GetQlimit()) $pfq_rule .= " queue " . $this->GetQlimit(); |