Mask MS bit of class in answer parser
This commit is contained in:
parent
44010b8729
commit
e8736016bf
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue