From: Remi Gacogne Date: Mon, 10 Oct 2016 11:12:21 +0000 (+0200) Subject: dnsdist: Flush output in single command client mode X-Git-Tag: dnsdist-1.1.0-beta2~100^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4553%2Fhead;p=thirdparty%2Fpdns.git 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!). --- 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<