}
+#-----------------------------------------------------------------------------
+# PLUGIN FUNCTION: SectionProcessHostname_pluginname
+# UNIQUE: NO (Several plugins using this function can be loaded)
+#-----------------------------------------------------------------------------
+sub SectionProcessHostname_geoip_city_maxmind {
+ my $param="$_[0]"; # Param must be an IP
+ # <-----
+ my $record=();
+ $record=$geoip_city_maxmind->record_by_name($param) if $geoip_city_maxmind;
+ if ($Debug) { debug(" Plugin geoip_city_maxmind: GetCityByName for $param: [$record]",5); }
+ my $city=$record->city;
+# if ($PageBool) { $_city_p{$city}++; }
+ if ($city) {
+ my $countrycity=lc(($record->country_code)."_".$city);
+ $countrycity=~tr/ /_/;
+ $_city_h{$countrycity}++;
+ } else {
+ $_city_h{'unknown'}++;
+ }
+# if ($timerecord > $_city_l{$city}) { $_city_l{$city}=$timerecord; }
+ # ----->
+ return;
+}
+
+
#-----------------------------------------------------------------------------
# PLUGIN FUNCTION: SectionReadHistory_pluginname
# UNIQUE: NO (Several plugins using this function can be loaded)