Skip to content

Commit

Permalink
Nginx : Fix Compile error
Browse files Browse the repository at this point in the history
Fix compile error when configure nginx with --with-stream
  • Loading branch information
chenwei committed Jan 31, 2018
1 parent cc7be19 commit 0a6b817
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/nginx-1.11.10/src/stream/ngx_stream_core_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ static ngx_command_t ngx_stream_core_commands[] = {
#if (NGX_HAVE_FSTACK)

{ 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_HTTP_SRV_CONF_OFFSET,
offsetof(ngx_http_core_srv_conf_t, kernel_network_stack),
NGX_STREAM_SRV_CONF_OFFSET,
offsetof(ngx_stream_core_srv_conf_t, kernel_network_stack),
NULL },

#endif
Expand Down

0 comments on commit 0a6b817

Please sign in to comment.