From: Igor Sysoev Date: Tue, 24 Feb 2009 14:25:24 +0000 (+0000) Subject: fix the previous commit X-Git-Tag: release-0.7.39~5 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=d7b3b48f0ee5cc33f44315c541fec3bf72fe4bc1;p=nginx.git fix the previous commit --- 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