]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix `DnstapLogAction` and `DnstapLogResponseAction` in YAML config
authorEnsar Sarajčić <dev@ensarsarajcic.com>
Wed, 5 Feb 2025 19:03:42 +0000 (20:03 +0100)
committerEnsar Sarajčić <dev@ensarsarajcic.com>
Wed, 5 Feb 2025 19:03:42 +0000 (20:03 +0100)
commit729b7ee8f5c8d24ae6067e7ffc0f6ca405b34621
treec43cb496ffea74d6e7670c653108847b4389e999
parent73491fb272a7984b6e86f83a561eb8c2ce096cdf
Fix `DnstapLogAction` and `DnstapLogResponseAction` in YAML config

There was not option of having no alter function defined, even though it
is expected by config. If it wasn't defined, it passed an invalid alter
function into the action. This makes the alter function optional and
properly checks if it was found in configuration.
pdns/dnsdistdist/dnsdist-configuration-yaml.cc