Commit cfb59dde authored by Eamonn Coughlan's avatar Eamonn Coughlan

Problem: can't set IPV6_V6ONLY on OpenBSD

Solution: skip setsockopt call resulting in EINVAL
parent b2c4dad4
...@@ -108,7 +108,7 @@ void zmq::enable_ipv4_mapping (fd_t s_) ...@@ -108,7 +108,7 @@ void zmq::enable_ipv4_mapping (fd_t s_)
{ {
(void) s_; (void) s_;
#ifdef IPV6_V6ONLY #if defined IPV6_V6ONLY && !defined ZMQ_HAVE_OPENBSD
#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