summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_socket.c')
-rw-r--r--src/nxt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_socket.c b/src/nxt_socket.c
index 2663b855..c174081c 100644
--- a/src/nxt_socket.c
+++ b/src/nxt_socket.c
@@ -145,7 +145,7 @@ nxt_socket_sockopt_name(nxt_uint_t level, nxt_uint_t sockopt)
break;
-#if (NXT_INET6 && defined IPV6_V6ONLY)
+#if (NXT_INET6)
case IPPROTO_IPV6:
switch (sockopt) {