]> git.ipfire.org Git - thirdparty/bind9.git/commit
Preserve brackets in DNS_SLABHEADER_GETATTR macro
authorMark Andrews <marka@isc.org>
Wed, 18 Jun 2025 02:01:31 +0000 (12:01 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Jun 2025 02:44:22 +0000 (12:44 +1000)
commit3620db5ea6f163199cf5a3ad09c32d02b374f748
tree7a80c223e36eaa49e25ba5eb4b5a89cd3186a185
parent31922536c05a69a7ee60e9bd4aa015232c062b15
Preserve brackets in DNS_SLABHEADER_GETATTR macro

We need to turn off clang-format to preserve the brackets as
'attribute' can be an expression and we need it to be evaluated
first.

Similarly we need the entire result to be evaluated independent of
the adjoining code.
lib/dns/include/dns/rdataslab.h