From 21c2cdd898c5b087fee73832680622923120f5eb Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Wed, 23 Dec 2015 16:03:39 +0100 Subject: [PATCH] Add `delay` action to dnsdist Lua. Fix None action mapped to Pool. --- pdns/dnsdist-lua.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index a1902f2e1..71c27d434 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -77,7 +77,8 @@ vector> setupLua(bool client, const std::string& confi {"Allow", (int)DNSAction::Action::Allow}, {"HeaderModify", (int)DNSAction::Action::HeaderModify}, {"Pool", (int)DNSAction::Action::Pool}, - {"None",(int)DNSAction::Action::Pool}} + {"None",(int)DNSAction::Action::None}, + {"Delay", (int)DNSAction::Action::Delay}} ); g_lua.writeFunction("newServer", -- 2.40.0