diff options
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_out_edit.php | 10 |
1 files changed, 6 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 3f47dc2..4c3bba9 100644 --- a/src/usr/local/www/firewall_nat_out_edit.php +++ b/src/usr/local/www/firewall_nat_out_edit.php @@ -496,8 +496,9 @@ $group->add(new Form_Select( $group->add(new Form_IpAddress( 'source', null, - $pconfig['source'] -))->addMask('source_subnet', $pconfig['source_subnet'])->setHelp('Source network for the outbound NAT mapping.')->setPattern('[a-zA-Z0-9_.:]+'); + $pconfig['source'], + 'ALIASV4V6' +))->addMask('source_subnet', $pconfig['source_subnet'])->setHelp('Source network for the outbound NAT mapping.'); $group->add(new Form_Input( 'sourceport', @@ -520,8 +521,9 @@ $group->add(new Form_Select( $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_.:]+'); + $pconfig['destination'] == "any" ? "":$pconfig['destination'], + 'ALIASV4V6' +))->addMask('destination_subnet', $pconfig['destination_subnet'])->setHelp('Destination network for the outbound NAT mapping.'); $group->add(new Form_Input( 'dstport', |