diff options
author | Ermal <eri@pfsense.org> | 2012-10-24 18:05:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-10-24 18:05:25 +0000 |
commit | 5c9f6cfcf411f8bbbb5d8df730bc4c0011dc2c49 (patch) | |
tree | c5dbf61ebbd001d910ae7da10cab5caf27fa5ec8 /etc/inc | |
parent | 8e2597c95c1ca938642c8518c0111c3f0b7abfec (diff) | |
download | pfsense-5c9f6cfcf411f8bbbb5d8df730bc4c0011dc2c49.zip pfsense-5c9f6cfcf411f8bbbb5d8df730bc4c0011dc2c49.tar.gz |
To avoid issues with missing removed schedules just do not create the pipe at all
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index a13ec30..5d66043 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3013,7 +3013,8 @@ class dnpipe_class extends dummynet_class { } } } - } + } else + return ""; } else $pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; } |