diff --git a/server.c b/server.c index 27d3bfe..ff560d7 100644 --- a/server.c +++ b/server.c @@ -103,8 +103,8 @@ int initialize_server() if (setsockopt(server, SOL_SOCKET, SO_REUSEADDR, &(int){ 1 }, sizeof(int)) < 0) return -1; - /* Enable dual-stack mode on supported platforms */ #ifndef __OpenBSD__ + /* Enable dual-stack mode on supported platforms */ verbose(3, " IPV6_V6ONLY..."); if (setsockopt(server, IPPROTO_IPV6, IPV6_V6ONLY, &ipv6_only, sizeof(ipv6_only)) < 0) return -1;