Skip to content
New issue

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

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

Already on GitHub? # to your account

Replaced sprintf with net.JoinHostPort to fix bug with ipv6 #326

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

emdem
Copy link
Contributor

@emdem emdem commented Jul 27, 2017

No description provided.

@sgotti
Copy link
Member

sgotti commented Jul 28, 2017

@emdem Thanks for the PR.

I honestly never tried stolon with ipv6 addresses so if only this change is needed to make it work I'll merge it.

@emdem
Copy link
Contributor Author

emdem commented Jul 28, 2017

@sgotti No problem, thanks for open-sourcing! It may not be the only one, but I'll fix them as I find them. I think this covers the proxy at least.

@emdem
Copy link
Contributor Author

emdem commented Jul 28, 2017

@sgotti I've confirmed that it fixes the issue I was having with the proxy. The following all work:
ipv4 proxy -> ipv6 keeper
ipv6 proxy -> ipv6 keeper
ipv6 proxy -> ipv4 keeper

@sgotti
Copy link
Member

sgotti commented Jul 31, 2017

@emdem Great! We should probably add more tests for ipv6 in future. Merging. Thanks a lot!

@sgotti sgotti merged commit c41b6cd into sorintlab:master Jul 31, 2017
sgotti added a commit that referenced this pull request Jul 31, 2017
Replaced sprintf with net.JoinHostPort to fix bug with ipv6
@sgotti sgotti modified the milestone: v0.7.0 Aug 9, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants