]> git.ipfire.org Git - thirdparty/bind9.git/commit
remove 'target' from dns_adb
authorEvan Hunt <each@isc.org>
Fri, 21 Feb 2025 09:24:42 +0000 (01:24 -0800)
committerEvan Hunt <each@isc.org>
Wed, 26 Feb 2025 00:43:21 +0000 (00:43 +0000)
commit6c2af2ae3b66994f5452ee1c6f554abb054b0e82
tree2005ea16ba0238a406fd01cc5a6b84ce5470b410
parent6af708f3b0cbbd7954d1171e843511c2c71078d6
remove 'target' from dns_adb

the target name parameter to dns_adb_createfind() was always passed as
NULL, so we can safely remove it.

relatedly, the 'target' field in the dns_adbname structure was never
referenced after being set.  the 'expire_target' field was used, but
only as a way to check whether an ADB name represents a CNAME or DNAME,
and that information can be stored as a single flag.
lib/dns/adb.c
lib/dns/include/dns/adb.h
lib/dns/resolver.c
lib/dns/zone.c