diff options
author | jim-p <jimp@pfsense.org> | 2016-02-26 11:42:32 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-02-26 11:42:32 -0500 |
commit | 7d0929e906696749c9b095cf1c6f6e5b14940bdb (patch) | |
tree | fb16cbf84084fb95bd1c8a210cefc3c1967a764c /src/usr/local/www | |
parent | 954202d03343e3bfbba9ada401ff7c54dad571f2 (diff) | |
download | pfsense-7d0929e906696749c9b095cf1c6f6e5b14940bdb.zip pfsense-7d0929e906696749c9b095cf1c6f6e5b14940bdb.tar.gz |
Don't unnecessarily exclude IPv6 addresses here. See ticket #5931
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/firewall_nat_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php index fc29648..2955418 100644 --- a/src/usr/local/www/firewall_nat_edit.php +++ b/src/usr/local/www/firewall_nat_edit.php @@ -755,7 +755,7 @@ $group->add(new Form_IpAddress( 'src', null, is_specialnet($pconfig['src']) ? '': $pconfig['src'] -))->setPattern('[.a-zA-Z0-9_]+')->addMask('srcmask', $pconfig['srcmask'])->setHelp('Address/mask'); +))->setPattern('[.a-zA-Z0-9_:]+')->addMask('srcmask', $pconfig['srcmask'])->setHelp('Address/mask'); $section->add($group); @@ -822,7 +822,7 @@ $group->add(new Form_IpAddress( 'dst', null, is_specialnet($pconfig['dst']) ? '': $pconfig['dst'] -))->setPattern('[.a-zA-Z0-9_]+')->addMask('dstmask', $pconfig['dstmask'], 31)->setHelp('Address/mask'); +))->setPattern('[.a-zA-Z0-9_:]+')->addMask('dstmask', $pconfig['dstmask'], 31)->setHelp('Address/mask'); $section->add($group); @@ -866,7 +866,7 @@ $section->addInput(new Form_IpAddress( 'localip', 'Redirect target IP', $pconfig['localip'] -))->setPattern('[.a-zA-Z0-9_]+')->setHelp('Enter the internal IP address of the server on which you want to map the ports.' . '<br />' . +))->setPattern('[.a-zA-Z0-9_:]+')->setHelp('Enter the internal IP address of the server on which you want to map the ports.' . '<br />' . 'e.g.: 192.168.1.12'); $group = new Form_Group('Redirect target port'); |