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

Sentinel: fix bufsize to support IPv6 address #1914

Closed
wants to merge 1 commit into from
Closed

Sentinel: fix bufsize to support IPv6 address #1914

wants to merge 1 commit into from

Conversation

eiiches
Copy link

@eiiches eiiches commented Aug 6, 2014

As char[32] is not sufficient for an IPv6 address, I changed it to char[REDIS_IP_STR_LEN], which makes sentinels to run on IPv6 network.

mattsta pushed a commit to mattsta/redis that referenced this pull request Aug 6, 2014
@mattsta
Copy link
Contributor

mattsta commented Aug 6, 2014

Thanks! To make it clearer I've renamed buf to ip as well.

@mattsta mattsta mentioned this pull request Aug 6, 2014
mattsta pushed a commit to mattsta/redis that referenced this pull request Aug 6, 2014
@antirez antirez closed this in c38884c Aug 25, 2014
antirez pushed a commit that referenced this pull request Aug 26, 2014
antirez pushed a commit that referenced this pull request Aug 27, 2014
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