mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-13 02:29:33 +02:00
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:
commit
75fe5406b4
|
@ -60,16 +60,16 @@ typedef struct {
|
||||||
} ngx_rtmp_addr_conf_t;
|
} ngx_rtmp_addr_conf_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
in_addr_t addr;
|
|
||||||
ngx_rtmp_addr_conf_t conf;
|
ngx_rtmp_addr_conf_t conf;
|
||||||
|
in_addr_t addr;
|
||||||
} ngx_rtmp_in_addr_t;
|
} ngx_rtmp_in_addr_t;
|
||||||
|
|
||||||
|
|
||||||
#if (NGX_HAVE_INET6)
|
#if (NGX_HAVE_INET6)
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct in6_addr addr6;
|
|
||||||
ngx_rtmp_addr_conf_t conf;
|
ngx_rtmp_addr_conf_t conf;
|
||||||
|
struct in6_addr addr6;
|
||||||
} ngx_rtmp_in6_addr_t;
|
} ngx_rtmp_in6_addr_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue