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

Support IPv6 link-local addreses #133

Open
daurnimator opened this issue Jan 18, 2016 · 1 comment
Open

Support IPv6 link-local addreses #133

daurnimator opened this issue Jan 18, 2016 · 1 comment

Comments

@daurnimator
Copy link
Collaborator

They currently don't work as inet_pton doesn't support link local addresses.

Looks like the only POSIX way to parse them is getaddrinfo. We could use the AI_NUMERICHOST hint flag?

@daurnimator
Copy link
Collaborator Author

I could easily enough come up with a patch to move src/lib/socket.c's so_open off of inet_pton and just use dns.c

However dns.c uses inet_pton too. and changing dns.c to support the scope field will be a quite a large change; especially if we want to support it everywhere. I've made an issue over there about it: wahern/dns#6

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

No branches or pull requests

1 participant