summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r--src/core/ngx_inet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h
index 509f80ab6..95ba30ba7 100644
--- a/src/core/ngx_inet.h
+++ b/src/core/ngx_inet.h
@@ -12,6 +12,9 @@
#include <ngx_core.h>
+#define NGX_INET_ADDRSTRLEN (sizeof("255.255.255.255") - 1)
+
+
typedef struct {
in_addr_t addr;
in_addr_t mask;