From: Charles-Henri Bruyand Date: Thu, 6 Sep 2018 09:40:17 +0000 (+0200) Subject: rec: fix outgoingProtobufServer config instanciation X-Git-Tag: dnsdist-1.3.3~115^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dbc7fbef2f23a31bb73d6c79269ac9ffe3fccde;p=pdns rec: fix outgoingProtobufServer config instanciation --- diff --git a/pdns/rec-lua-conf.cc b/pdns/rec-lua-conf.cc index 25dc3e1e3..bd9dd0e2b 100644 --- a/pdns/rec-lua-conf.cc +++ b/pdns/rec-lua-conf.cc @@ -396,8 +396,8 @@ void loadRecursorLuaConfig(const std::string& fname, luaConfigDelayedThreads& de try { if (!lci.outgoingProtobufExportConfig.enabled) { lci.outgoingProtobufExportConfig.enabled = true; - lci.protobufExportConfig.server = ComboAddress(server_); - parseProtobufOptions(vars, lci.protobufExportConfig); + lci.outgoingProtobufExportConfig.server = ComboAddress(server_); + parseProtobufOptions(vars, lci.outgoingProtobufExportConfig); } else { g_log<