Commit 12340428 authored by Gurzau Raul's avatar Gurzau Raul
Browse files

Backed out changeset 0192efea1b66 (bug 1486137) for failing at...

Backed out changeset 0192efea1b66 (bug 1486137) for failing at netwerk/test/unit/test_trr.js on a CLOSED TREE
parent 350c943d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -139,9 +139,8 @@ TRR::DohEncode(nsCString &aBody, bool aDisableECS)
    aBody += '\0'; // upper 8 bit OPTION-LENGTH
    aBody += 4;    // OPTION-LENGTH, 2 octets, contains the length of the payload
                   // after OPTION-LENGTH
    aBody += '\0'; // upper 8 bit FAMILY. IANA Address Family Numbers registry, not the
                   // AF_* constants!
    aBody += 1;    // FAMILY (Ipv4), 2 octets
    aBody += '\0'; // upper 8 bit FAMILY
    aBody += AF_INET; // FAMILY, 2 octets

    aBody += '\0'; // SOURCE PREFIX-LENGTH      |     SCOPE PREFIX-LENGTH       |
    aBody += '\0';