style(server.c): comment
This commit is contained in:
parent
00e6fe5582
commit
9e011de4ab
1 changed files with 1 additions and 1 deletions
2
server.c
2
server.c
|
@ -103,8 +103,8 @@ int initialize_server()
|
||||||
if (setsockopt(server, SOL_SOCKET, SO_REUSEADDR, &(int){ 1 }, sizeof(int)) < 0)
|
if (setsockopt(server, SOL_SOCKET, SO_REUSEADDR, &(int){ 1 }, sizeof(int)) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* Enable dual-stack mode on supported platforms */
|
|
||||||
#ifndef __OpenBSD__
|
#ifndef __OpenBSD__
|
||||||
|
/* Enable dual-stack mode on supported platforms */
|
||||||
verbose(3, " IPV6_V6ONLY...");
|
verbose(3, " IPV6_V6ONLY...");
|
||||||
if (setsockopt(server, IPPROTO_IPV6, IPV6_V6ONLY, &ipv6_only, sizeof(ipv6_only)) < 0)
|
if (setsockopt(server, IPPROTO_IPV6, IPV6_V6ONLY, &ipv6_only, sizeof(ipv6_only)) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Reference in a new issue