From 2c626970735287fdae9e4590318692ad0d3567e9 Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Sat, 14 Nov 2015 04:21:16 +0200 Subject: [PATCH] moved a log line that should respect the silent flag --- sbin/iprange.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/iprange.c b/sbin/iprange.c index c71b5e2..8de6226 100644 --- a/sbin/iprange.c +++ b/sbin/iprange.c @@ -1428,7 +1428,6 @@ void dns_request_failed(DNSREQ *d, int added, int gai_error) case EAI_SOCKTYPE: // The requested socket type is not supported. case EAI_SERVICE: // The requested service is not available for the requested socket type. - case EAI_NONAME: // The node or service is not known case EAI_MEMORY: // Out of memory. case EAI_BADFLAGS: // hints.ai_flags contains invalid flags; or, hints.ai_flags included AI_CANONNAME and name was NULL. fprintf(stderr, "%s: DNS: '%s' error: %s\n", PROG, d->hostname, gai_strerror(gai_error)); @@ -1436,6 +1435,7 @@ void dns_request_failed(DNSREQ *d, int added, int gai_error) return; break; + case EAI_NONAME: // The node or service is not known case EAI_FAIL: // The name server returned a permanent failure indication. case EAI_FAMILY: // The requested address family is not supported. default: @@ -1785,8 +1785,6 @@ ipset *ipset_load(const char *filename) { * prefix_enable[] is not reset before use, so that it can be initialized with * some of the prefixes enabled and others disabled already (user driven) * - * the ipset given MUST BE OPTIMIZED for this function to work - * * this function does not alter the given ipset and it does not print it */