X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/f17a708ff0e870baf2709bb0d63f32f166e082d3..91fb3ca6b56328c626dabb35e2de9a5ae525b1b1:/practicas/pipi/src/test_resolvproto.cpp diff --git a/practicas/pipi/src/test_resolvproto.cpp b/practicas/pipi/src/test_resolvproto.cpp index ba1c136..964240b 100644 --- a/practicas/pipi/src/test_resolvproto.cpp +++ b/practicas/pipi/src/test_resolvproto.cpp @@ -6,11 +6,11 @@ int main() { - ResolvProtoRequest req("hola.tito", ResolvProtoRequest::QT_RECURSIVE); + ResolvProtoRequest req("hola.tito", RP_REQ_RECURSIVE); std::cout << "Request Original: " << req << "\n"; ResolvProtoRequest req2 = std::string(req); std::cout << "Request Reconstruido: " << req2 << "\n"; - ResolvProtoResponse res(ResolvProtoResponse::R_A, 600); + ResolvProtoResponse res(RP_RES_A, 600); res.ips.push_back(IPAddr("10.10.10.2")); res.ips.push_back(IPAddr("100.20.45.21")); res.ips.push_back(IPAddr("230.23.62.189"));