From: W.C.A. Wijngaards Date: Fri, 28 Feb 2020 08:19:53 +0000 (+0100) Subject: dnstap io, fix uniform error message for no dnstap-socket-path. X-Git-Tag: release-1.11.0~120^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49622dd51a6de81ab8ed0e19ca639102cc3763c1;p=thirdparty%2Funbound.git dnstap io, fix uniform error message for no dnstap-socket-path. --- diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index 29fc5ee59..fe02cc2aa 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -265,9 +265,8 @@ int dt_io_thread_apply_cfg(struct dt_io_thread* dtio, struct config_file *cfg) if(dtio->upstream_is_unix) { if(!cfg->dnstap_socket_path || cfg->dnstap_socket_path[0]==0) { - log_err("dnstap setup failed, because dnstap is " - "enabled, but no dnstap-ip and no " - "dnstap-socket-path are given"); + log_err("dnstap setup: no dnstap-socket-path for " + "socket connect"); return 0; } free(dtio->socket_path);