From e92436970635991f9e161da416c040a31ae23a5a Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Thu, 8 Jun 2017 08:23:52 +0200 Subject: [PATCH] Delete unused function from fwhosts.cgi This function is not used by any other script. Signed-off-by: Alexander Marx Signed-off-by: Michael Tremer --- html/cgi-bin/fwhosts.cgi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/html/cgi-bin/fwhosts.cgi b/html/cgi-bin/fwhosts.cgi index 25ab489ea9..a2ade8a202 100644 --- a/html/cgi-bin/fwhosts.cgi +++ b/html/cgi-bin/fwhosts.cgi @@ -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); -- 2.39.2