summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/config.inc2
-rw-r--r--etc/inc/filter.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index eb7bb64..bd984ee 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1582,7 +1582,7 @@ function system_start_ftp_helpers() {
}
}
if(isset($config['shaper']['enable'])) {
- if($config['ezshaper']['step5']['p2pcatchall']) {
+ if(isset($config['ezshaper']['step5']['p2pcatchall'])) {
$shaper_queue = "-q qP2PDown ";
} else {
$downq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['inside_int']);
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 150b1fb..9256838 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -935,7 +935,7 @@ function filter_nat_rules_generate() {
* and thus pf is not fully running. otherwise we end up with: pftpx: pf is disabled
*/
if(isset($config['shaper']['enable'])) {
- if($config['ezshaper']['step5']['p2pcatchall']) {
+ if(isset($config['ezshaper']['step5']['p2pcatchall'])) {
$shaper_queue = "-q qP2PUp ";
} else {
$upq = "q" . convert_friendly_interface_to_friendly_descr($config['ezshaper']['step2']['outside_int']);
OpenPOWER on IntegriCloud