diff options
author | Ruslan Ermilov <ru@nginx.com> | 2013-12-06 14:30:27 +0400 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2013-12-06 14:30:27 +0400 |
commit | 3aeefbcaea75c1ccf158be15afe61ce863978be9 (patch) | |
tree | e1feaaac61b4e79ab536eaf457f064d58694db85 /src/core/ngx_resolver.h | |
parent | 552e15ba1cb5816ecea75080aee20dd7d3c157fe (diff) |
Changed resolver API to use ngx_addr_t.
Diffstat (limited to 'src/core/ngx_resolver.h')
-rw-r--r-- | src/core/ngx_resolver.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/ngx_resolver.h b/src/core/ngx_resolver.h index ae34ca56d..c9942d8f3 100644 --- a/src/core/ngx_resolver.h +++ b/src/core/ngx_resolver.h @@ -121,8 +121,9 @@ struct ngx_resolver_ctx_s { ngx_str_t name; ngx_uint_t naddrs; - in_addr_t *addrs; - in_addr_t addr; + ngx_addr_t *addrs; + ngx_addr_t addr; + struct sockaddr_in sin; ngx_resolver_handler_pt handler; void *data; |