Fix access to config field of ngx_rtmp_in{,6}_addr_t. Closes #290

This commit is contained in:
Florian Zeitz 2014-11-28 19:15:54 +01:00
parent 7a35372e30
commit 1d1d4fcac6

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