Problem: regression introduced by 68d520e, leading to tcp name resolution no longer working

Solution: restore "local" flag values in call to resolve

Fixes #3394
This commit is contained in:
Simon Giesecke
2019-02-07 11:00:10 +01:00
parent 5ecf8f93e2
commit 84dc40dd90
5 changed files with 7 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ zmq::tcp_listener_t::get_socket_name (zmq::fd_t fd_,
int zmq::tcp_listener_t::create_socket (const char *addr_)
{
_s = tcp_open_socket (addr_, options, true, &_address);
_s = tcp_open_socket (addr_, options, true, true, &_address);
if (_s == retired_fd) {
return -1;
}