mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-15 00:11:08 +02:00
Fix access to config field of ngx_rtmp_in{,6}_addr_t. Closes #290
This commit is contained in:
parent
7a35372e30
commit
1d1d4fcac6
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue