From 4acf8602bdac5b5a6d1dd44b8a072372a46d642e Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Mon, 10 Nov 2014 13:32:28 -0800 Subject: [PATCH] update docs with geoip_asn note addition --- plugins/ident/geoip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/ident/geoip b/plugins/ident/geoip index 0a44eaa..9f60fd5 100644 --- a/plugins/ident/geoip +++ b/plugins/ident/geoip @@ -11,13 +11,14 @@ geographic information about incoming connections. =head1 DESCRIPTION -This plugin saves geographic information in the following connection notes: +Save geographic information about the sender in the following connection notes: geoip_country - 2 char country code geoip_country_name - english name of country geoip_continent - 2 char continent code geoip_city - english name of city geoip_distance - distance in kilometers + geoip_asn - network number And adds entries like this to your logs: @@ -150,7 +151,7 @@ sub load_geoip1 { # Instead, attempt to reopen upon connect if the DB connection fails. $self->init_my_country_code(); - $self->register_hook('connect', 'geoip_lookup'); + $self->register_hook('connect', 'geoip_lookup'); } sub load_geoip2 { @@ -464,4 +465,3 @@ sub get_sender_lat_lon { } return $lat, $lon; } -