summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-27 10:47:44 -0200
committerRenato Botelho <renato@netgate.com>2016-12-27 10:47:44 -0200
commitac4e656aed7af011be7527df676002bccb6330f6 (patch)
treeca9f400db978fd79c4beecd56a6284abcf6bd576 /src/usr/local/www/firewall_rules_edit.php
parent58b5c9579aac52471e903a0914bfb0ea34731af9 (diff)
parent45541aae63596ea28aa18c84b65946bce6adbffd (diff)
downloadpfsense-ac4e656aed7af011be7527df676002bccb6330f6.zip
pfsense-ac4e656aed7af011be7527df676002bccb6330f6.tar.gz
Merge pull request #3248 from phil-davis/ipaddressnopattern
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index ac90126..5211255 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1320,8 +1320,9 @@ foreach (['src' => 'Source', 'dst' => 'Destination'] as $type => $name) {
$group->add(new Form_IpAddress(
$type,
$name .' Address',
- $pconfig[$type]
- ))->addMask($type .'mask', $pconfig[$type.'mask'])->setPattern('[a-zA-Z0-9_.:]+');
+ $pconfig[$type],
+ 'ALIASV4V6'
+ ))->addMask($type .'mask', $pconfig[$type.'mask']);
$section->add($group);
OpenPOWER on IntegriCloud