From 4b6473f333cd70273d4aceb0ebc14942833e468f Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Sat, 31 Mar 2018 23:32:58 +0200 Subject: [PATCH] auth: ComboAddress masters in lua2backend --- modules/lua2backend/lua2api2.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/lua2backend/lua2api2.hh b/modules/lua2backend/lua2api2.hh index 6e5084643..2acbf89cd 100644 --- a/modules/lua2backend/lua2api2.hh +++ b/modules/lua2backend/lua2api2.hh @@ -233,7 +233,8 @@ public: else if (item.first == "last_check") di.last_check = static_cast(boost::get(item.second)); else if (item.first == "masters") - di.masters = boost::get>(item.second); + for(const auto& master: boost::get>(item.second)) + di.masters.push_back(ComboAddress(master, 53)); else if (item.first == "id") di.id = static_cast(boost::get(item.second)); else if (item.first == "notified_serial") @@ -249,7 +250,7 @@ public: logResult("zone="<