mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 02:42:58 +01:00
fix bug in zmq::tcp_address_t::resolve_interface() where all resolved interface ip's overwrited by 0.0.0.0
This commit is contained in:
parent
c77dc98b5c
commit
b89a53ee7a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user