From 5dbc7fbef2f23a31bb73d6c79269ac9ffe3fccde Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand Date: Thu, 6 Sep 2018 11:40:17 +0200 Subject: [PATCH] rec: fix outgoingProtobufServer config instanciation --- pdns/rec-lua-conf.cc | 4 +- .../test_Protobuf.py | 61 +++++++++++++++++++ 2 files changed, 63 insertions(+), 2 deletions(-) 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<