From b4e955d94fa063efda750cdb6adf9c73f7051ef1 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 8 Mar 2016 13:13:53 -0500 Subject: Correct the text and placement of the disable and nobinat options for 1:1 NAT rules. Fixes #5966 --- src/usr/local/www/firewall_nat_1to1_edit.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/usr/local/www/firewall_nat_1to1_edit.php') diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index b6dfce8..e1dcd95 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -400,18 +400,18 @@ $form = new Form(new Form_Button( $section = new Form_Section('Edit NAT 1:1 Entry'); $section->addInput(new Form_Checkbox( - 'nobinat', - 'Negate', - 'This rule will be excluded from the NAT', - $pconfig['nobinat'] -))->setHelp('Use this to exclude addresses from a rule that follows this one'); + 'disabled', + 'Disabled', + 'Disable this rule', + $pconfig['disabled'] +))->setHelp('When disabled, the rule will not have any effect.'); $section->addInput(new Form_Checkbox( - 'disabled', + 'nobinat', 'No BINAT (NOT)', - 'Disable redirection for traffic matching this rule', - $pconfig['disabled'] -))->setHelp('This option is rarely needed, don\'t use this unless you know what you\'re doing.'); + 'Do not perform binat for the specified address', + $pconfig['nobinat'] +))->setHelp('Excludes the address from a later, more general, rule'); $iflist = get_configured_interface_with_descr(false, true); -- cgit v1.1