]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - html/cgi-bin/fwhosts.cgi
Merge remote-tracking branch 'origin/next'
[ipfire-2.x.git] / html / cgi-bin / fwhosts.cgi
index 25ab489ea9f656106046e8bb5e004a689d3eb83c..a2ade8a202f30cafc9592e632f638df7b45b888d 100644 (file)
@@ -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);