summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-02 02:40:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-02 02:40:15 +0000
commitb660a423941c792d8109bb24e4c5b250d964fc83 (patch)
treeaa56708f308f954bdc25fd2c98b8f4cdd69a2f86 /usr/local
parent2517dd65c31a523fa2471cf4b6faa6178a1c3aa4 (diff)
downloadpfsense-b660a423941c792d8109bb24e4c5b250d964fc83.zip
pfsense-b660a423941c792d8109bb24e4c5b250d964fc83.tar.gz
Do not add blank records
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml
index fae4d08..6524d2b 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.xml
+++ b/usr/local/www/wizards/traffic_shaper_wizard.xml
@@ -2124,7 +2124,7 @@
$rule['protocol'] = $otherclient[1];
}
- if($rule['inqueue'] != "")
+ if($rule['inqueue'] != "" and $rule['in-interface'] != "" and $rule['out-interface'] != "")
$config['shaper']['rule'][] = $rule;
}
}
OpenPOWER on IntegriCloud