]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
dnstap io, fix uniform error message for no dnstap-socket-path.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 28 Feb 2020 08:19:53 +0000 (09:19 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 28 Feb 2020 08:19:53 +0000 (09:19 +0100)
dnstap/dtstream.c

index 29fc5ee5956bd364248e5d7f4ec80b440ba5e943..fe02cc2aa773b4ac943c7dc590be006f07000ac0 100644 (file)
@@ -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);