]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: dev: Reduce the size of cfg_obj_t
authorEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 22:54:49 +0000 (22:54 +0000)
committerEvan Hunt <each@isc.org>
Thu, 30 Oct 2025 22:54:49 +0000 (22:54 +0000)
commit6451b08f4706e7003133aa9d366ed36a6568475b
treed663cbc7e24c497be4a09f09ae36c739572ec10b
parent89df706874190b4b2dd3a2b452ade8c94d8f7497
parentfb6939b1c55494623da5959129fc9beca7c66cda
fix: dev: Reduce the size of cfg_obj_t

Instead of having `isc_sockaddr`, `isc_netaddr`, and `isccfg_duration` members in the `cfg_obj->value`
union, we now just keep pointers to them, and allocate memory when parsing these types. This reduces the
size of `cfg_obj_t` from 112 bytes to 72.

Merge branch 'each-refactor-cfg-obj' into 'main'

See merge request isc-projects/bind9!11186