diff --git a/llarp/dns_rectypes.cpp b/llarp/dns_rectypes.cpp index d30388878..b7a1c0c1c 100644 --- a/llarp/dns_rectypes.cpp +++ b/llarp/dns_rectypes.cpp @@ -105,7 +105,7 @@ namespace llarp type_12ptr::parse(std::vector< byte_t > bytes) { // trim last 2 bytes... probably the size - this->revname = std::string((char *)bytes.data(), bytes.size() - 2); + this->revname = std::string((char *)bytes.data(), bytes.size()); return bytes.size() ? true : false; };