Commit b89a53ee authored by Sergey KHripchenko's avatar Sergey KHripchenko

fix bug in zmq::tcp_address_t::resolve_interface() where all resolved interface…

fix bug in zmq::tcp_address_t::resolve_interface() where all resolved interface ip's overwrited by 0.0.0.0
parent c77dc98b
......@@ -252,8 +252,6 @@ int zmq::tcp_address_t::resolve_interface (const char *interface_,
if (rc != 0 && errno != ENODEV)
return rc;
if (rc == 0) {
zmq_assert (out_addrlen <= sizeof address);
memcpy (&address, out_addr, out_addrlen);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment