From e2cefbf5a976e3ae94bf6ccfaa3bd3b75648a98c Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Sat, 8 Jun 2019 21:20:48 +0200 Subject: [PATCH] auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896 --- pdns/lua-record.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc index 0e2b9102b..12bbaa662 100644 --- a/pdns/lua-record.cc +++ b/pdns/lua-record.cc @@ -490,6 +490,7 @@ std::vector> luaSynth(const std::string& code, cons bestwho=dnsp.getRealRemote().getNetwork(); } else { + lua.writeVariable("ecswho", nullptr); bestwho=dnsp.getRemote(); } -- 2.40.0