Mask MS bit of class in answer parser

This commit is contained in:
Simon Rogers 2018-03-01 22:40:24 +01:00
parent 44010b8729
commit e8736016bf
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ pdns.unpack = function (ab) {
q.rdlength = dv.getUint16(total, false);
total += 2;
q.class &= 0x7fff;
q.className = classes[q.class];
q.typeName = types[q.type];