diff src/http/ngx_http_core_module.h @ 2562:c352c419be85

ipv6only
author Igor Sysoev <igor@sysoev.ru>
date Fri, 13 Mar 2009 14:20:34 +0000
parents 2d34fba7cf06
children 859f6675a553
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -44,6 +44,9 @@ typedef struct {
 #if (NGX_HTTP_SSL)
     unsigned                   ssl:1;
 #endif
+#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
+    unsigned                   ipv6only:2;
+#endif
 
     int                        backlog;
     int                        rcvbuf;