]> git.ipfire.org Git - thirdparty/pdns.git/commit
Fix sortlist in the presence of CNAME
authorbert hubert <bert.hubert@netherlabs.nl>
Mon, 14 Aug 2017 20:19:02 +0000 (22:19 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Mon, 14 Aug 2017 20:19:02 +0000 (22:19 +0200)
commit20d84f775a6b00ca4d611490412d354ebd0a0ce2
tree8ecab3951ff46992600c15c21f33b1f50a33fc20
parent76b530ed14eba1daf2876d82a6b2755fe2555808
Fix sortlist in the presence of CNAME
In #5357 @killerwhile discovered we were missorting CNAME records when using sortlist.
With this commit, we should get it right by moving to stable_sort and being more careful about type equivalence.
pdns/pdns_recursor.cc
pdns/sortlist.cc