From 6d94b51f0bda79fba3a9d122537f0cfac412bb34 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 13 Mar 2009 14:20:34 +0000 Subject: ipv6only --- src/core/ngx_connection.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/ngx_connection.h') diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 171078b23..cc6a92989 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -56,6 +56,10 @@ struct ngx_listening_s { unsigned shared:1; /* shared between threads or processes */ unsigned addr_ntop:1; +#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY) + unsigned ipv6only:2; +#endif + #if (NGX_HAVE_DEFERRED_ACCEPT) unsigned deferred_accept:1; unsigned delete_deferred:1; -- cgit