summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-10-24 18:05:25 +0000
committerErmal <eri@pfsense.org>2012-10-24 18:05:25 +0000
commit5c9f6cfcf411f8bbbb5d8df730bc4c0011dc2c49 (patch)
treec5dbf61ebbd001d910ae7da10cab5caf27fa5ec8 /etc
parent8e2597c95c1ca938642c8518c0111c3f0b7abfec (diff)
downloadpfsense-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')
-rw-r--r--etc/inc/shaper.inc3
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'];
}
OpenPOWER on IntegriCloud