mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
zeromq: fix ipv6
This commit is contained in:
parent
503da4bb94
commit
fbf75d90ee
1 changed files with 2 additions and 2 deletions
|
@ -201,14 +201,14 @@ int zeromq_start(struct node *n)
|
|||
break;
|
||||
}
|
||||
|
||||
ret = zmq_setsockopt(z->publisher.socket, &z->ipv6, sizeof(z->ipv6));
|
||||
ret = zmq_setsockopt(z->publisher.socket, ZMQ_IPV6, &z->ipv6, sizeof(z->ipv6));
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
/* Bind subscriber socket */
|
||||
if (z->subscriber.endpoint) {
|
||||
ret = zmq_bind(z->subscriber.socket, z->subscriber.endpoint);
|
||||
ret = zmq_setsockopt(z->subscriber.socket, &z->ipv6, sizeof(z->ipv6));
|
||||
ret = zmq_setsockopt(z->subscriber.socket, ZMQ_IPV6, &z->ipv6, sizeof(z->ipv6));
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue