From b660a423941c792d8109bb24e4c5b250d964fc83 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 2 Apr 2006 02:40:15 +0000 Subject: Do not add blank records --- usr/local/www/wizards/traffic_shaper_wizard.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') 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; } } -- cgit v1.1