From 2768a9d9fc72cf9d89a42e7254d9dacea96605ef Mon Sep 17 00:00:00 2001 From: NOYB Date: Tue, 5 Jan 2016 07:52:01 -0800 Subject: [PATCH] Remove errant bracket from character class. --- src/usr/local/www/firewall_nat_out_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usr/local/www/firewall_nat_out_edit.php b/src/usr/local/www/firewall_nat_out_edit.php index d21b769041..e4aebde19e 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -541,7 +541,7 @@ $group->add(new Form_IpAddress( 'destination', null, $pconfig['destination'] == "any" ? "":$pconfig['destination'] -))->addMask('destination_subnet', $pconfig['destination_subnet'])->setHelp('Destination network for the outbound NAT mapping.')->setPattern('[[a-zA-Z0-9\_\.\:]+'); +))->addMask('destination_subnet', $pconfig['destination_subnet'])->setHelp('Destination network for the outbound NAT mapping.')->setPattern('[a-zA-Z0-9\_\.\:]+'); $group->add(new Form_Input( 'dstport',