]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Fix EDNS flags confusion when editing the OPT header 14569/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 Aug 2024 10:26:33 +0000 (12:26 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 20 Aug 2024 10:26:33 +0000 (12:26 +0200)
commit010521a0197091642bbc654b2b371b462fa73033
tree2d862b956175c664856eea2844072548961099c4
parent5dd2221f07fb1d83e64bfe318a3bcc4f36966fa6
dnsdist: Fix EDNS flags confusion when editing the OPT header

We used to wrongly reverse the byte-ordering of the existing EDNS
flags when editing the OPT header, for example when setting an
extended DNS error status.
pdns/dnsdistdist/dnsdist-ecs.cc
pdns/dnsdistdist/test-dnsdist_cc.cc
regression-tests.dnsdist/dnsdisttests.py
regression-tests.dnsdist/test_DOH.py
regression-tests.dnsdist/test_EDE.py
regression-tests.dnsdist/test_EDNSSelfGenerated.py