From: Remi Gacogne Date: Wed, 23 Dec 2015 15:03:39 +0000 (+0100) Subject: Add `delay` action to dnsdist Lua. Fix None action mapped to Pool. X-Git-Tag: dnsdist-1.0.0-alpha1~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21c2cdd898c5b087fee73832680622923120f5eb;p=pdns Add `delay` action to dnsdist Lua. Fix None action mapped to Pool. --- 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",