mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 01:12:57 +02:00
Firewall: Bugfix: When creating a servcie in firewall-groups and selecting a protocol other than icmp, the enty in the ruletable shows correct values PLUS the "all icmp-types" under ICMP.
Now the ICMP FIeld is emtpy when selecting another protocol than icmp
This commit is contained in:
committed by
Michael Tremer
parent
7b82bee7c4
commit
f8cbcb7c8a
@@ -741,6 +741,7 @@ if ($fwhostsettings{'ACTION'} eq 'saveservice')
|
||||
}
|
||||
}
|
||||
if($ICMP eq ''){$ICMP=$fwhostsettings{'ICMP_TYPES'};}
|
||||
if ($fwhostsettings{'PROT'} ne 'ICMP'){$ICMP='';}
|
||||
if (!$errormessage){
|
||||
my $key = &General::findhasharraykey (\%customservice);
|
||||
foreach my $i (0 .. 4) { $customservice{$key}[$i] = "";}
|
||||
|
||||
Reference in New Issue
Block a user