Commit 72854e63 authored by Christopher Hall's avatar Christopher Hall

problem: DragonFly BSD does not allow mapping global IPv4 addresses when IPv6 is used

solution: Handle as for OpenBSD by not attemption to set this option on the socket
Signed-off-by: 's avatarChristopher Hall <hsw@ms2.hinet.net>
parent ba679bcc
...@@ -129,7 +129,7 @@ void zmq::enable_ipv4_mapping (fd_t s_) ...@@ -129,7 +129,7 @@ void zmq::enable_ipv4_mapping (fd_t s_)
{ {
LIBZMQ_UNUSED (s_); LIBZMQ_UNUSED (s_);
#if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD #if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD && !defined ZMQ_HAVE_DRAGONFLY
#ifdef ZMQ_HAVE_WINDOWS #ifdef ZMQ_HAVE_WINDOWS
DWORD flag = 0; DWORD flag = 0;
#else #else
......
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