diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 16:03:28 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-09-11 16:04:26 -0400 |
commit | 784b435bce55034ab407cd51552d57d379300a53 (patch) | |
tree | bbec2727553457cba938a54440ee763e04f15b2b /src/usr/local/www/firewall_nat_1to1_edit.php | |
parent | c38aad85f745ee20450923c28818642b8d1f7f2d (diff) | |
download | pfsense-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_1to1_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_1to1_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index 2b8834f..e051f2b 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -459,7 +459,7 @@ $group->add(new Form_IpAddress( 'src', null, is_specialnet($pconfig['src']) ? '': $pconfig['src'] -))->addMask('srcmask', $pconfig['srcmask'], 31)->setHelp('Address/mask'); +))->addMask('srcmask', $pconfig['srcmask'], 31)->setHelp('Address/mask')->setPattern('[0-9, a-z, A-Z and .'); $group->setHelp('Enter the internal (LAN) subnet for the 1:1 mapping. ' . 'The subnet size specified for the internal subnet will be applied to the external subnet.'); @@ -486,7 +486,7 @@ $group->add(new Form_IpAddress( 'dst', null, is_specialnet($pconfig['dst']) ? '': $pconfig['dst'] -))->addMask('dstmask', $pconfig['dstmask'], 31)->setHelp('Address/mask'); +))->addMask('dstmask', $pconfig['dstmask'], 31)->setHelp('Address/mask')->setPattern('[0-9, a-z, A-Z and .'); $group->setHelp('The 1:1 mapping will only be used for connections to or from the specified destination. Hint: this is usually "Any".'); |