aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_connection.h2
-rw-r--r--src/core/ngx_module.h4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index e484c81da..d9ee6851e 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -66,7 +66,7 @@ struct ngx_listening_s {
unsigned addr_ntop:1;
unsigned wildcard:1;
-#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
+#if (NGX_HAVE_INET6)
unsigned ipv6only:1;
#endif
#if (NGX_HAVE_REUSEPORT)
diff --git a/src/core/ngx_module.h b/src/core/ngx_module.h
index e2fbe9cfa..4ddab5604 100644
--- a/src/core/ngx_module.h
+++ b/src/core/ngx_module.h
@@ -71,11 +71,7 @@
#define NGX_MODULE_SIGNATURE_8 "0"
#endif
-#if (NGX_HAVE_INET6 && defined IPV6_V6ONLY)
#define NGX_MODULE_SIGNATURE_9 "1"
-#else
-#define NGX_MODULE_SIGNATURE_9 "0"
-#endif
#if (NGX_HAVE_REUSEPORT)
#define NGX_MODULE_SIGNATURE_10 "1"