X-Git-Url: https://git.llucax.com/z.facultad/75.74/practicos.git/blobdiff_plain/c4bef2a8143ddaf4ab2a57084455f5617bc39399..c1b28b595a388df043997c87faf75c06959405d0:/practicas/pipi/src/test_ipout.cpp?ds=sidebyside diff --git a/practicas/pipi/src/test_ipout.cpp b/practicas/pipi/src/test_ipout.cpp index 255416e..1f11fc1 100644 --- a/practicas/pipi/src/test_ipout.cpp +++ b/practicas/pipi/src/test_ipout.cpp @@ -69,7 +69,7 @@ void add_routes(RouteTable& rt, std::istream& is, size_t mtu, Dev& dev) iss >> net >> gw >> metric; if (net == "0") net = "0.0.0.0"; if (gw == "0") gw = "0.0.0.0"; - rt.add(net.c_str(), gw.c_str(), mtu, metric, dev); + rt.add(net, gw, mtu, metric, dev); } }