]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Better handling of non-existent Lua function name in YAML
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 24 Mar 2025 15:37:58 +0000 (16:37 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 24 Mar 2025 15:39:51 +0000 (16:39 +0100)
commitd41c7fbf421a9c83f5171dd99b0b2fe416057637
tree9c41311092a3bb046ff09967354328250091b02e
parentb86d69e8213f00b0f028b531b86cb485a292b4fd
dnsdist: Better handling of non-existent Lua function name in YAML

This commit changes the way DNSdist handles a non-existent Lua function
name being referenced from the YAML configuration: instead of silently
ignoring the problem, it loudly complains before exiting.
pdns/dnsdistdist/dnsdist-configuration-yaml.cc