summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-24 10:51:28 +0545
committerRenato Botelho <renato@netgate.com>2017-01-30 10:32:02 -0200
commit129a43703414ef81e95db39fe5e8762d1218e9b2 (patch)
tree9f8ceef8c7577313a650b9b64d343a4b547cbb9e /src/usr/local/www/firewall_nat_out_edit.php
parent65b8c1ed0ae8c1cd349932c4860cd2a3c4cda02c (diff)
downloadpfsense-129a43703414ef81e95db39fe5e8762d1218e9b2.zip
pfsense-129a43703414ef81e95db39fe5e8762d1218e9b2.tar.gz
More required fields for NAT pages
(cherry picked from commit 877be5e6205ada2608b364f57150010ba473e66d)
Diffstat (limited to 'src/usr/local/www/firewall_nat_out_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_out_edit.php8
1 files changed, 4 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 9051b98..030ed7d 100644
--- a/src/usr/local/www/firewall_nat_out_edit.php
+++ b/src/usr/local/www/firewall_nat_out_edit.php
@@ -504,7 +504,7 @@ if ($config['openvpn']["openvpn-server"] || $config['openvpn']["openvpn-client"]
$section->addInput(new Form_Select(
'interface',
- 'Interface',
+ '*Interface',
$pconfig['interface'],
$interfaces
))->setHelp('The interface on which traffic is matched as it exits the firewall. In most cases this is "WAN" or another externally-connected interface.');
@@ -513,7 +513,7 @@ $protocols = "any TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP carp pfsync";
$section->addInput(new Form_Select(
'protocol',
- 'Protocol',
+ '*Protocol',
$pconfig['protocol'],
array_combine(explode(" ", strtolower($protocols)), explode(" ", $protocols))
))->setHelp('Choose which protocol this rule should match. In most cases "any" is specified.');
@@ -543,7 +543,7 @@ $group->add(new Form_Input(
$section->add($group);
-$group = new Form_Group('Destination');
+$group = new Form_Group('*Destination');
$group->add(new Form_Select(
'destination_type',
@@ -582,7 +582,7 @@ $section->addClass('translation');
$section->addInput(new Form_Select(
'target',
- 'Address',
+ '*Address',
$pconfig['target'],
build_target_list()
))->setHelp( 'Connections matching this rule will be mapped to the specified <b>Address</b>.' . '<br />' .
OpenPOWER on IntegriCloud