From 48152fae627a9882b0d4193e6023fd50d925d155 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 12 Jun 2020 17:42:41 +0200 Subject: [PATCH] Transform geoip-functions.pl into location-functions.pl Signed-off-by: Stefan Schantl --- .../cfgroot/{geoip-functions.pl => location-functions.pl} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename config/cfgroot/{geoip-functions.pl => location-functions.pl} (97%) diff --git a/config/cfgroot/geoip-functions.pl b/config/cfgroot/location-functions.pl similarity index 97% rename from config/cfgroot/geoip-functions.pl rename to config/cfgroot/location-functions.pl index d516ae89cd..ab99e71d37 100644 --- a/config/cfgroot/geoip-functions.pl +++ b/config/cfgroot/location-functions.pl @@ -17,11 +17,11 @@ # along with IPFire; if not, write to the Free Software # # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # # -# Copyright (C) 2015 IPFire Team . # +# Copyright (C) 2015 - 2020 IPFire Team . # # # ############################################################################ -package GeoIP; +package Location::Functions; use Location; use Locale::Codes::Country; @@ -165,8 +165,8 @@ sub get_full_country_name($) { return $name; } -# Function to get all available GeoIP locations. -sub get_geoip_locations() { +# Function to get all available locations. +sub get_locations() { my @locations = (); # Get listed country codes from ISO 3166-1. -- 2.39.5