Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: ziflist does not support IPv6 #1615

Merged
merged 4 commits into from
Jan 30, 2017
Merged

Conversation

bluca
Copy link
Member

@bluca bluca commented Jan 29, 2017

Solution: see commits

Given the output would change I added 2 new draft ziflist_new_ipv6 and ziflist_reload_ipv6 to keep backward compatibility.
Not implemented for Windows, help needed!

Solution: fix it, 4 spaces-only
Solution: use link-local all-node fe02::1 as the default to enable
out-of-the-box functionality.
Solution: use getnameinfo in s_interface_new to get the string format
of the interface address and parameters.
Add new (draft) methods ziflist_new_ipv6 and ziflist_reload_ipv6 that
also look for IPv6 addresses in order to maintain backward
compatibility.
Only implemented for operating systems that support getifaddrs, so
not with ioctl calls (they support only IPv4) and not on Windows
(help needed to implement it).
Solution: add a new (draft) ziflist_is_ipv6 API that returns
true/false.
@sappo sappo merged commit 6f41bc5 into zeromq:master Jan 30, 2017
@bluca bluca deleted the ziflist_ipv6 branch January 30, 2017 09:20
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.

2 participants