From: Alexander Marx Date: Wed, 22 Aug 2018 09:23:16 +0000 (+0200) Subject: BUG11805: Firewall rule with source orange and target firewall-interface-orange not... X-Git-Tag: v2.21-core124~54 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=d303638793c2ad21e296289eadc4ec3584bd215d BUG11805: Firewall rule with source orange and target firewall-interface-orange not possible Now its possible to create a rule with orange source and target orange interface of the firewall. Fixes: #11805 Signed-off-by: Alexander Marx Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/firewall.cgi b/html/cgi-bin/firewall.cgi index 499f279d1f..fb1c25dfd5 100644 --- a/html/cgi-bin/firewall.cgi +++ b/html/cgi-bin/firewall.cgi @@ -241,10 +241,6 @@ if ($fwdfwsettings{'ACTION'} eq 'saverule') $checkorange='on'; } } - #check useless rules - if( ($fwdfwsettings{$fwdfwsettings{'grp1'}} eq 'ORANGE' || $checkorange eq 'on') && $fwdfwsettings{'grp2'} eq 'ipfire'){ - $errormessage.=$Lang::tr{'fwdfw useless rule'}."
"; - } #check if we try to break rules if( $fwdfwsettings{'grp1'} eq 'ipfire_src' && $fwdfwsettings{'grp2'} eq 'ipfire'){ $errormessage=$Lang::tr{'fwdfw err same'};