aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_inet.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-02-24 14:25:24 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-02-24 14:25:24 +0000
commitd7b3b48f0ee5cc33f44315c541fec3bf72fe4bc1 (patch)
treebbcacbd52f056c1e850331fcbdcaa827bf8bcd84 /src/core/ngx_inet.h
parent36860101ec7a3de1d337ecb6f8f3e2bfd0fb63cb (diff)
downloadnginx-d7b3b48f0ee5cc33f44315c541fec3bf72fe4bc1.tar.gz
nginx-d7b3b48f0ee5cc33f44315c541fec3bf72fe4bc1.zip
fix the previous commit
Diffstat (limited to 'src/core/ngx_inet.h')
-rw-r--r--src/core/ngx_inet.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/ngx_inet.h b/src/core/ngx_inet.h
index 482b0e475..855740933 100644
--- a/src/core/ngx_inet.h
+++ b/src/core/ngx_inet.h
@@ -35,17 +35,17 @@
typedef struct {
- struct in6_addr addr;
- struct in6_addr mask;
-} ngx_in6_cidr_t;
+ in_addr_t addr;
+ in_addr_t mask;
+} ngx_in_cidr_t;
#if (NGX_HAVE_INET6)
typedef struct {
- in_addr_t addr;
- in_addr_t mask;
-} ngx_in_cidr_t;
+ struct in6_addr addr;
+ struct in6_addr mask;
+} ngx_in6_cidr_t;
#endif