From a43f95010c332a6433e8b63bc0b4bf29c99cd736 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 10 Oct 2016 13:12:21 +0200 Subject: [PATCH] dnsdist: Flush output in single command client mode Otherwise redirection to a pipe or a file doesn't work, as reported on IRC by tmus (thanks!). --- pdns/dnsdist-console.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/dnsdist-console.cc b/pdns/dnsdist-console.cc index d6e5eb7a4a..1306bb8033 100644 --- a/pdns/dnsdist-console.cc +++ b/pdns/dnsdist-console.cc @@ -75,6 +75,7 @@ void doClient(ComboAddress server, const std::string& command) msg.assign(resp.get(), len); msg=sodDecryptSym(msg, g_key, theirs); cout<