bug 1451750 - treat rrsets from different resolvers as different r=mcmanus

... even if all the addresses are identical.

Otherwise the IsTRR() bit would be dropped, resulting in
about:networking showing false for this entry while in reality being
TRR. Or vice versa.

MozReview-Commit-ID: JABLm09iCnn

--HG--
extra : rebase_source : 24f9ff8b6818c00359069add23d1354ab2f1b1f9
This commit is contained in:
Daniel Stenberg 2018-04-05 16:30:10 +02:00
Родитель cba474bd45
Коммит 7ca074617e
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1437,6 +1437,10 @@ different_rrset(AddrInfo *rrset1, AddrInfo *rrset2)
nsTArray<NetAddr> orderedSet1;
nsTArray<NetAddr> orderedSet2;
if (rrset1->IsTRR() != rrset2->IsTRR()) {
return true;
}
for (NetAddrElement *element = rrset1->mAddresses.getFirst();
element; element = element->getNext()) {
if (LOG_ENABLED()) {