changeset 2538:c5bbb6164630

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Tue, 24 Feb 2009 14:25:24 +0000
parents a472d954c534
children 051e9b12428e
files src/core/ngx_inet.h
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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