fixed ipv6only field to comply with the new semantics

This commit is contained in:
Roman Arutyunyan 2012-08-15 15:54:25 +04:00
parent 8e181cdb19
commit 4cbe407bd3

View file

@ -571,7 +571,7 @@ ngx_rtmp_core_listen(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ls->ipv6only = 1;
} else if (ngx_strcmp(&value[i].data[10], "ff") == 0) {
ls->ipv6only = 2;
ls->ipv6only = 0;
} else {
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,