receive correct object
This commit is contained in:
parent
d9bbacb0dc
commit
645c4c654c
|
@ -3,8 +3,8 @@
|
|||
|
||||
// An 'A' record is a 32-bit value representing the IP address
|
||||
|
||||
exports.DNS_TYPE_A = function (ab, packet, rdata) {
|
||||
var ui8 = new Uint8Array(rdata);
|
||||
exports.DNS_TYPE_A = function (ab, packet, record) {
|
||||
var ui8 = record.rdata;
|
||||
// i.e. 127.0.0.1
|
||||
|
||||
return ui8[0] + '.' + ui8[1] + '.' + ui8[2] + '.' + ui8[3];
|
||||
|
|
Loading…
Reference in New Issue