summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2012-07-30 12:27:06 +0000
committerRuslan Ermilov <ru@nginx.com>2012-07-30 12:27:06 +0000
commitdeaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f (patch)
treeacf6297d9229f9b2c0da4bfb9a918912096aa2ba /src/core/ngx_connection.h
parent9c8f3d86b4c4c1bb04057e57f798e4244cefcbcf (diff)
downloadnginx-deaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f.tar.gz
nginx-deaf22d22083473ec3cdcd2dcfb2ea7c0fd62a3f.tar.bz2
Core: ipv6only is now on by default.
There is a general consensus that this change results in better consistency between different operating systems and differently tuned operating systems. Note: this changes the width and meaning of the ipv6only field of the ngx_listening_t structure. 3rd party modules that create their own listening sockets might need fixing.
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 34af12e4f..87fd08723 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -64,7 +64,7 @@ struct ngx_listening_s {
unsigned addr_ntop:1;
#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
- unsigned ipv6only:2;
+ unsigned ipv6only:1;
#endif
unsigned keepalive:2;