projects
/
pdns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e3e774
)
auth LUA: explicitly unset ecswho if we are not setting it, fixes #7896
author
Peter van Dijk
<peter.van.dijk@powerdns.com>
Sat, 8 Jun 2019 19:20:48 +0000
(21:20 +0200)
committer
Peter van Dijk
<peter.van.dijk@powerdns.com>
Sat, 8 Jun 2019 19:20:48 +0000
(21:20 +0200)
pdns/lua-record.cc
patch
|
blob
|
history
diff --git
a/pdns/lua-record.cc
b/pdns/lua-record.cc
index 0e2b9102b813e491bca4297308dd6cebed8dfd6e..12bbaa662105be7de225d2ff0805c09778f48a2b 100644
(file)
--- a/
pdns/lua-record.cc
+++ b/
pdns/lua-record.cc
@@
-490,6
+490,7
@@
std::vector<shared_ptr<DNSRecordContent>> luaSynth(const std::string& code, cons
bestwho=dnsp.getRealRemote().getNetwork();
}
else {
+ lua.writeVariable("ecswho", nullptr);
bestwho=dnsp.getRemote();
}