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

Fix resolution of IPv6 addresses #69

Merged
merged 1 commit into from Mar 18, 2016
Merged

Conversation

orivej
Copy link
Contributor

@orivej orivej commented Mar 5, 2016

Previously resolveAddr("[IPv6-addr]") passed [IPv6-addr] to net.ParseIP and failed with invalid domain name.

hasPort utility comes from net/http/client.go.

This would fix consul join "[IPv6-addr]" and #63.

Previously resolveAddr("[IPv6-addr]") passed "[IPv6-addr]" to net.ParseIP
and failed with "invalid domain name".

hasPort utility comes from net/http/client.go.
@slackpad slackpad merged commit 3164096 into hashicorp:master Mar 18, 2016
@slackpad
Copy link
Contributor

Thanks!

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.

None yet

2 participants