summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-09-11 16:03:28 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-09-11 16:04:26 -0400
commit784b435bce55034ab407cd51552d57d379300a53 (patch)
treebbec2727553457cba938a54440ee763e04f15b2b /src/usr/local/www/firewall_nat_edit.php
parentc38aad85f745ee20450923c28818642b8d1f7f2d (diff)
downloadpfsense-784b435bce55034ab407cd51552d57d379300a53.zip
pfsense-784b435bce55034ab407cd51552d57d379300a53.tar.gz
Revised all pages with autocomplete to accommodate host names in validation and change port inputs to 'text'
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 633380e..7b63ff6 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -736,7 +736,7 @@ $group->add(new Form_Select(
$group->add(new Form_Input(
'srcbeginport_cust',
null,
- 'number',
+ 'text',
$pconfig['srcbeginport'],
['min' => '1', 'max' => '65536']
))->setHelp('Custom');
@@ -751,7 +751,7 @@ $group->add(new Form_Select(
$group->add(new Form_Input(
'srcendport_cust',
null,
- 'number',
+ 'text',
$pconfig['srcendport'],
['min' => '1', 'max' => '65536']
))->setHelp('Custom');
@@ -792,7 +792,7 @@ $group->add(new Form_Select(
$group->add(new Form_Input(
'dstbeginport_cust',
null,
- 'number',
+ 'text',
$pconfig['dstbeginport'],
['min' => '1', 'max' => '65536']
))->setHelp('Custom');
@@ -807,7 +807,7 @@ $group->add(new Form_Select(
$group->add(new Form_Input(
'dstendport_cust',
null,
- 'number',
+ 'text',
$pconfig['dstendport'],
['min' => '1', 'max' => '65536']
))->setHelp('Custom');
@@ -849,7 +849,7 @@ $group->setHelp('Specify the port on the machine with the IP address entered abo
$group->add(new Form_Input(
'localbeginport_cust',
null,
- 'number',
+ 'text',
$pconfig['localbeginport'],
['min' => '1', 'max' => '65536']
))->setHelp('Custom');
OpenPOWER on IntegriCloud