Skip to content

Commit 9402927

Browse files
author
alonbg
committed
ip_transparent
1 parent 1829004 commit 9402927

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ngx_stream_lua_socket_tcp.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,9 @@ static void ngx_stream_lua_ssl_handshake_handler(ngx_connection_t *c);
143143
static int ngx_stream_lua_ssl_free_session(lua_State *L);
144144
#endif
145145
static void ngx_stream_lua_socket_tcp_close_connection(ngx_connection_t *c);
146+
#if (NGX_HAVE_TRANSPARENT_PROXY)
146147
static void ngx_stream_lua_inject_socket_option_consts(lua_State *L);
147-
148+
#endif
148149

149150
enum {
150151
SOCKET_CTX_INDEX = 1,

0 commit comments

Comments
 (0)