From bae53989526a899a8b39853980c49775ea7fe97a Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 29 Apr 2010 08:13:50 -0300 Subject: Fix indent --- usr/local/www/firewall_rules_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr') diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index 5bbfadb..8bd7e49 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -677,15 +677,15 @@ include("head.inc"); NOTE: This is associated to a NAT rule.
You cannot edit the source and destination of associated filter rules.

- $nat_rule ) { - if( $nat_rule['associated-rule-id']==$pconfig['associated-rule-id']) { - echo "View the NAT rule
"; - break; + foreach( $config['nat']['rule'] as $index => $nat_rule ) { + if( $nat_rule['associated-rule-id']==$pconfig['associated-rule-id']) { + echo "View the NAT rule
"; + break; } - } + } } ?>
-- cgit v1.1