From: Alexander Marx Date: Fri, 19 Sep 2014 06:11:24 +0000 (+0200) Subject: BUG10617: Allow rules from local networks to firewall itself X-Git-Tag: v2.17-core89~77^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59c2888bae4638153fbe5092608468a21788fb55;p=ipfire-2.x.git BUG10617: Allow rules from local networks to firewall itself --- diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index e6ae5272a2..0b587c57f9 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -833,7 +833,7 @@ sub checkrule $errormessage.=$Lang::tr{'fwdfw err remark'}."
"; } #check if source and target identical - if ($fwdfwsettings{$fwdfwsettings{'grp1'}} eq $fwdfwsettings{$fwdfwsettings{'grp2'}} && $fwdfwsettings{$fwdfwsettings{'grp1'}} ne 'ALL'){ + if ($fwdfwsettings{$fwdfwsettings{'grp1'}} eq $fwdfwsettings{$fwdfwsettings{'grp2'}} && $fwdfwsettings{$fwdfwsettings{'grp1'}} ne 'ALL' && $fwdfwsettings{'grp2'} ne 'ipfire'){ $errormessage=$Lang::tr{'fwdfw err same'}; return $errormessage; }