mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +02:00
Delete unused function from fwhosts.cgi
This function is not used by any other script. Signed-off-by: Alexander Marx <alexander.marx@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
a9a91e5fa7
commit
e924369706
@@ -2555,18 +2555,6 @@ sub checkip
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
sub checksubnet
|
||||
{
|
||||
my %hash=%{(shift)};
|
||||
&General::readhasharray("$confignet", \%hash);
|
||||
foreach my $key (keys %hash) {
|
||||
if(&General::IpInSubnet($fwhostsettings{'IP'},$hash{$key}[1],$hash{$key}[2]))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
sub checkservicegroup
|
||||
{
|
||||
&General::readhasharray("$configsrvgrp", \%customservicegrp);
|
||||
|
||||
Reference in New Issue
Block a user