diff options
Diffstat (limited to 'plugins/netutils.c')
-rw-r--r-- | plugins/netutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/netutils.c b/plugins/netutils.c index 60410c64..ea004bb4 100644 --- a/plugins/netutils.c +++ b/plugins/netutils.c @@ -326,7 +326,11 @@ is_host (char *address) int is_addr (char *address) { +#ifdef USE_IPV6 if (is_inet_addr (address) && address_family != AF_INET6) +#else + if (is_inet_addr (address)) +#endif return (TRUE); #ifdef USE_IPV6 |