Permalink
Browse files

zyre_set_endpoint supports ephemeral ports

  • Loading branch information...
毛林
毛林 committed Nov 3, 2018
1 parent 067c9ec commit f6912499b921c0ece9a3bebcf507c3758480dc9c
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/zyre_node.c
@@ -527,7 +527,8 @@ zyre_node_recv_api (zyre_node_t *self)
if (self->secret_key)
assert (zsock_mechanism (self->inbox) == ZMQ_CURVE);
self->endpoint = endpoint;
self->endpoint = strdup(zsock_endpoint(self->inbox));
zstr_free(&endpoint);
zsock_signal (self->pipe, 0);
}
else {

0 comments on commit f691249

Please sign in to comment.