aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fnettrace/hostnames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fnettrace/hostnames.c b/src/fnettrace/hostnames.c
index 878a67123..20c83803f 100644
--- a/src/fnettrace/hostnames.c
+++ b/src/fnettrace/hostnames.c
@@ -28,6 +28,10 @@ static char buf[MAXBUF];
28char *retrieve_hostname(uint32_t ip) { 28char *retrieve_hostname(uint32_t ip) {
29 if (geoip_not_found) 29 if (geoip_not_found)
30 return NULL; 30 return NULL;
31 if (access("/usr/bin/geoiplookup", X_OK)) {
32 geoip_not_found = 1;
33 return NULL;
34 }
31 geoip_calls++; 35 geoip_calls++;
32 36
33 char *rv = NULL; 37 char *rv = NULL;