]> git.ipfire.org Git - thirdparty/bind9.git/commit
Improve readability of endianness conversions
authorŠtěpán Balážik <stepan@isc.org>
Fri, 10 Apr 2026 16:25:17 +0000 (18:25 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Fri, 17 Apr 2026 14:26:07 +0000 (14:26 +0000)
commite43fa1dc5ad3cecd5b762b0bd8d4156e1c48595b
tree0ffecf978ced6d2d0ff6672ef716a5a2461d1c07
parenta58952e1f74a4fc6726de955327d540f0d935049
Improve readability of endianness conversions

Replace the less obvious and less explicit `struct.unpack()` and
`struct.pack()` calls with calls to `int.from_bytes()` and
`int.to_bytes()`, respectively.
bin/tests/system/isctest/asyncserver.py