diff --git a/dns.packer.js b/dns.packer.js index ce65ae4..27e86ee 100644 --- a/dns.packer.js +++ b/dns.packer.js @@ -97,7 +97,7 @@ var dnspack = exports.DNS_PACKER = { total += 1; }); } else { - dnspack.packRdata(ab, dv, total, a); + total = dnspack.packRdata(ab, dv, total, a); } }