]> git.ipfire.org Git - thirdparty/pdns.git/commit
Try harder to have valid domain id values.
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 11 Jun 2025 09:19:22 +0000 (11:19 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 11 Jun 2025 09:31:10 +0000 (11:31 +0200)
commit89df0fdb6a4fa4c8ec350d0b201fbe0753a0b5d6
tree6db823725c6a80c5a5c28e1ff0ac16e7b13b4cfb
parent0282a2cbbaee0a4a5449618892ad6b1df2473747
Try harder to have valid domain id values.

This makes sure the domain id in struct DomainInfo always gets set to
something (i.e. UnknownDomainID when the backend can't figure out a
meaningful value).

Fixes: #551
modules/bindbackend/bindbackend2.cc
modules/ldapbackend/native.cc
modules/lua2backend/lua2api2.hh