]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix byte order in EDE logging
authorColin Vidal <colin@isc.org>
Fri, 24 Jan 2025 16:27:09 +0000 (17:27 +0100)
committerColin Vidal <colin@isc.org>
Mon, 27 Jan 2025 10:49:44 +0000 (11:49 +0100)
commit39c2fc4670ee3dd10693cb8a9007d60442157553
treeeb8fabb7dd1be59d841a43f48db88fb9e9245c26
parent27f3b8950a675afe875759027a241da7c5244511
fix byte order in EDE logging

When an EDE code is added to a message, the code is converted early in a
big-endian order so it can be memcpy-ed directly in the EDE buffer that
will go on the wire.

This previous change forget to update debug logs which still assume the
EDE code was in host byte order. Add a separate variable to
differentiate both and avoid ambiguities
lib/ns/client.c