Merge pull request #11 from Florob/ipv6-worker

Fix access to config field of ngx_rtmp_in{,6}_addr_t.  Closes #290
This commit is contained in:
Sergey 2015-07-03 01:51:39 +03:00
commit 75fe5406b4

View file

@ -60,16 +60,16 @@ typedef struct {
} ngx_rtmp_addr_conf_t;
typedef struct {
in_addr_t addr;
ngx_rtmp_addr_conf_t conf;
in_addr_t addr;
} ngx_rtmp_in_addr_t;
#if (NGX_HAVE_INET6)
typedef struct {
struct in6_addr addr6;
ngx_rtmp_addr_conf_t conf;
struct in6_addr addr6;
} ngx_rtmp_in6_addr_t;
#endif