]> git.ipfire.org Git - thirdparty/bind9.git/commit
refactor dns_clientinfo_init(); use separate function to set ECS
authorEvan Hunt <each@isc.org>
Mon, 31 Jan 2022 20:10:29 +0000 (12:10 -0800)
committerEvan Hunt <each@isc.org>
Wed, 8 Feb 2023 07:48:22 +0000 (23:48 -0800)
commitff3fdaa424824a3fa49651872b4badaed6b1c5f7
treecf7560f1d620e8f822c8f4d7b5005ad78cd1b372
parent079254487216f61ea660c4d87f1a1973972f4dc3
refactor dns_clientinfo_init(); use separate function to set ECS

Instead of using an extra rarely-used paramater to dns_clientinfo_init()
to set ECS information for a client, this commit adds a function
dns_clientinfo_setecs() which can be called only when ECS is needed.
lib/dns/clientinfo.c
lib/dns/include/dns/clientinfo.h
lib/ns/query.c
lib/ns/update.c