]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: dev: add dns_message functions to set EDNS options
authorEvan Hunt <each@isc.org>
Fri, 21 Nov 2025 21:18:25 +0000 (21:18 +0000)
committerEvan Hunt <each@isc.org>
Fri, 21 Nov 2025 21:18:25 +0000 (21:18 +0000)
The new `dns_message_ednsinit()` and `dns_message_ednsaddopt()` functions
allow EDNS options to be added to a message one at a time; it is no
longer necessary to construct a full array of EDNS options and set
them all at once.

This allows us to simplify EDNS option handling code, and in the
future it wlil allow plugins to add EDNS options to existing
messages.

Merge branch 'each-refactor-message-edns' into 'main'

See merge request isc-projects/bind9!11261


Trivial merge