Skip to content

[DragonFlyBSD] fix for IPv4 mapping not supported - #3608

Merged
sigiesec merged 2 commits into
zeromq:masterfrom
hxw:master
Aug 6, 2019
Merged

[DragonFlyBSD] fix for IPv4 mapping not supported#3608
sigiesec merged 2 commits into
zeromq:masterfrom
hxw:master

Conversation

@hxw

@hxw hxw commented Aug 6, 2019

Copy link
Copy Markdown
Contributor

On DragonFly the zmq::enable_ipv4_mapping in ip.cpp fais with a not supported error
So handle this case the same as for OpenBSD

Also update configure files to set the correct definitions for DragonFly OS

This includes all patches from the dports/net/libzmq/dragonfly patches directory

hxw added 2 commits August 6, 2019 12:11
solution: on DragonFly also define ZMQ_HAVE_FREEBSD
          in addition to ZMQ_HAVe_DRAGONFLY

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
…hen IPv6 is used

solution: Handle as for OpenBSD by not attemption to set this option on the socket

Signed-off-by: Christopher Hall <hsw@ms2.hinet.net>
hxw referenced this pull request in DragonFlyBSD/DeltaPorts Aug 6, 2019
- Handle v4-mapping as for OpenBSD. DragonFly BSD does not allow mapping
  global IPv4 addresses when IPv6 is used.

Reported by: Christopher Hall (hxw) #208
@sigiesec
sigiesec merged commit c3eab89 into zeromq:master Aug 6, 2019
@sigiesec

sigiesec commented Aug 6, 2019

Copy link
Copy Markdown
Member

Thanks a lot for the fix!

Please consider also adding a known user entry for DragonFly to https://github.com/zeromq/libzmq/blob/master/README.md

Thanks!

@bluca

bluca commented Aug 6, 2019

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants