From: bert hubert Date: Wed, 13 Apr 2016 13:40:52 +0000 (+0200) Subject: don't try to do protobuf w/o protobuf X-Git-Tag: dnsdist-1.0.0-beta1~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3702%2Fhead;p=thirdparty%2Fpdns.git don't try to do protobuf w/o protobuf --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 8072d2aaa8..8dd0975e2f 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -765,9 +765,11 @@ void startDoResolve(void *p) if(!g_quiet || tracedQuery) { L<getTid()<<"/"<numProcesses()<<"] " << (dc->d_tcp ? "TCP " : "") << "question for '"<d_mdp.d_qname<<"|" <d_mdp.d_qtype)<<"' from "<getRemote(); +#ifdef HAVE_PROTOBUF if(!dc->ednssubnet.empty()) { L<<" (ecs "<ednssubnet.toString()<<")"; } +#endif L<