From 474ef84c87f0acdd733bcca43d06a3aa17da5aa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Tue, 24 Nov 2009 11:53:09 +0000 Subject: [PATCH] Fix problems with traffic shaper wizards not propperly handling the parameter at first step. --- usr/local/www/wizards/traffic_shaper_wizard.xml | 3 ++- usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml | 3 ++- usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml | 6 ++++-- usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml | 3 ++- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index 7bfef0d63a..3b802e78c1 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -37,7 +37,8 @@ This wizard will guide you through setting up the pfSense traffic shaper. - Enter number of WAN connections + Enter number of WAN connections + numberofconnections input ^[0-9]+$ Number of connections you have diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml index 4c1c37605a..fd7e40cf5d 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.xml @@ -43,7 +43,8 @@ Traffic shaper Wizard - Enter number of WAN type connections + Enter number of WAN type connections + numberofconnections input ^[0-9]+$ Number of connections you have diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml index 2009e95f31..6bac859e31 100755 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.xml @@ -43,14 +43,16 @@ Traffic shaper Wizard - Enter number of WAN type connections + Enter number of WAN type connections + numberofconnections input ^[0-9]+$ Number of connections you have ezshaper->step1->numberofconnections - Enter number of LAN type interfaces + Enter number of LAN type interfaces + numberoflocalinterfaces input ^[0-9]+$ Number of local interfaces you have diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml index c277839ccb..0b0a6bedda 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.xml @@ -39,7 +39,8 @@ This wizard will guide you through setting up the pfSense traffic shaper for the situation where you have 1 WAN connection and multiple LAN connections. - Enter number of LAN type connections + Enter number of LAN type connections + numberofconnections input ^[0-9]+$ Number of local(LAN) interfaces you have