From 129a43703414ef81e95db39fe5e8762d1218e9b2 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 24 Jan 2017 10:51:28 +0545 Subject: More required fields for NAT pages (cherry picked from commit 877be5e6205ada2608b364f57150010ba473e66d) --- src/usr/local/www/firewall_nat_out_edit.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/usr/local/www/firewall_nat_out_edit.php') 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 Address.' . '
' . -- cgit v1.1