From e43b7b7b2d85b1cc4c0967a32abaaae451b94b6c Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 12 Jun 2020 18:45:56 +0200 Subject: [PATCH] netexternal.cgi: Remove GeoIP related code. The CGI only loaded geoip-functions.pl and initiated libloc but did no further actions. So we are safe to completely remove this code. Signed-off-by: Stefan Schantl --- html/cgi-bin/netexternal.cgi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/html/cgi-bin/netexternal.cgi b/html/cgi-bin/netexternal.cgi index 731fa3f44b..781633c1db 100644 --- a/html/cgi-bin/netexternal.cgi +++ b/html/cgi-bin/netexternal.cgi @@ -31,12 +31,8 @@ use IO::Socket; require '/var/ipfire/general-functions.pl'; require "${General::swroot}/lang.pl"; require "${General::swroot}/header.pl"; -require "${General::swroot}/geoip-functions.pl"; require "${General::swroot}/graphs.pl"; -# Libloc database handle. -my $libloc_db_handle = &GeoIP::init(); - my %color = (); my %mainsettings = (); my %netsettings=(); -- 2.39.2