mirror of
https://github.com/redis/redis.git
synced 2026-06-11 01:40:25 -04:00
parent
6a3c4ac50a
commit
cf3d79d4c1
1 changed files with 0 additions and 1 deletions
|
|
@ -470,7 +470,6 @@ static int anetV6Only(char *err, int s) {
|
|||
int yes = 1;
|
||||
if (setsockopt(s,IPPROTO_IPV6,IPV6_V6ONLY,&yes,sizeof(yes)) == -1) {
|
||||
anetSetError(err, "setsockopt: %s", strerror(errno));
|
||||
close(s);
|
||||
return ANET_ERR;
|
||||
}
|
||||
return ANET_OK;
|
||||
|
|
|
|||
Loading…
Reference in a new issue