mirror of https://github.com/F-Stack/f-stack.git
Merge pull request #158 from chadwill/master
Nginx : Fix Compile error with `--with-stream`
This commit is contained in:
commit
6adaac3368
|
@ -59,10 +59,10 @@ static ngx_command_t ngx_stream_core_commands[] = {
|
||||||
#if (NGX_HAVE_FSTACK)
|
#if (NGX_HAVE_FSTACK)
|
||||||
|
|
||||||
{ ngx_string("kernel_network_stack"),
|
{ ngx_string("kernel_network_stack"),
|
||||||
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
|
NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_FLAG,
|
||||||
ngx_conf_set_flag_slot,
|
ngx_conf_set_flag_slot,
|
||||||
NGX_HTTP_SRV_CONF_OFFSET,
|
NGX_STREAM_SRV_CONF_OFFSET,
|
||||||
offsetof(ngx_http_core_srv_conf_t, kernel_network_stack),
|
offsetof(ngx_stream_core_srv_conf_t, kernel_network_stack),
|
||||||
NULL },
|
NULL },
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue