Skip to content

Commit db6c8f0

Browse files
bugfix: failed to build on 32bits Linux OS.
1 parent 5c777f1 commit db6c8f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ngx_stream_lua_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ ngx_stream_lua_ffi_req_dst_addr(ngx_stream_lua_request_t *r, char *buf,
275275
return NGX_ERROR;
276276
}
277277

278-
#if (NGX_HAVE_INET6)
278+
#if (NGX_HAVE_INET6) && defined(IP6T_SO_ORIGINAL_DST)
279279

280280
} else if (family == AF_INET6) {
281281
/* IPv6 */

0 commit comments

Comments
 (0)