std::string buf = snd_que.receive(mac);
#ifdef DEBUG_RESOLV
uint8_t type;
- memcpy(&type, s.data(), sizeof(uint8_t));
- std::cout << "NameServer::send_loop() -> envío "
+ memcpy(&type, buf.data(), sizeof(uint8_t));
+ std::cout << "NameServer::send_loop() -> envío ";
if (type == RP_REQ_DIRECT || type == RP_REQ_RECURSIVE)
std::cout << "request " << ResolvProtoRequest(buf) << "\n";
else