summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-04-04 09:46:16 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-04-04 09:48:35 -0400
commitb2118f7e78c40504932b3f234d0d7cf680d0a159 (patch)
treec57618130a43863fb8108a198c1908a72a9f7af8 /src/usr/local/www/firewall_nat_out_edit.php
parent356e973f6ffc853f2ce9e462eb5801c18432ec58 (diff)
downloadpfsense-b2118f7e78c40504932b3f234d0d7cf680d0a159.zip
pfsense-b2118f7e78c40504932b3f234d0d7cf680d0a159.tar.gz
Merge pull request #2823 from derelict-pf/patch-1
(cherry picked from commit b3d255deb16192ad33cbcd4cb157cf9acf1919fb)
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_out_edit.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php
index db2b684..d85b278 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -607,10 +607,9 @@ $group->addClass('natportgrp');
$group->add(new Form_Input(
'natport',
null,
- 'number',
- $pconfig['natport'],
- ['min' => '1', 'max' => '65536']
-))->setHelp('Enter the source port for the outbound NAT mapping.');
+ 'text',
+ $pconfig['natport']
+))->setHelp('Enter the source port or range for the outbound NAT mapping.');
$group->add(new Form_Checkbox(
'staticnatport',
OpenPOWER on IntegriCloud