Mercurial > hg > nginx-quic
comparison src/core/ngx_inet.h @ 2538:c5bbb6164630
fix the previous commit
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 24 Feb 2009 14:25:24 +0000 |
parents | a472d954c534 |
children | f9b5dfcc96d8 |
comparison
equal
deleted
inserted
replaced
2537:a472d954c534 | 2538:c5bbb6164630 |
---|---|
33 #define NGX_SOCKADDRLEN 512 | 33 #define NGX_SOCKADDRLEN 512 |
34 #endif | 34 #endif |
35 | 35 |
36 | 36 |
37 typedef struct { | 37 typedef struct { |
38 struct in6_addr addr; | 38 in_addr_t addr; |
39 struct in6_addr mask; | 39 in_addr_t mask; |
40 } ngx_in6_cidr_t; | 40 } ngx_in_cidr_t; |
41 | 41 |
42 | 42 |
43 #if (NGX_HAVE_INET6) | 43 #if (NGX_HAVE_INET6) |
44 | 44 |
45 typedef struct { | 45 typedef struct { |
46 in_addr_t addr; | 46 struct in6_addr addr; |
47 in_addr_t mask; | 47 struct in6_addr mask; |
48 } ngx_in_cidr_t; | 48 } ngx_in6_cidr_t; |
49 | 49 |
50 #endif | 50 #endif |
51 | 51 |
52 | 52 |
53 typedef struct { | 53 typedef struct { |