diff --git a/ngx_stream_ipdb_lua.c b/ngx_stream_ipdb_lua.c index 66d7903..c7531c1 100644 --- a/ngx_stream_ipdb_lua.c +++ b/ngx_stream_ipdb_lua.c @@ -24,7 +24,7 @@ ngx_stream_ipdb_get_raw(lua_State *L) ngx_stream_ipdb_main_conf_t *imcf; - r = ngx_stream_lua_get_request(L); + r = ngx_stream_lua_get_req(L); if (r == NULL) { return luaL_error(L, "no request object found"); } @@ -83,4 +83,4 @@ ngx_stream_ipdb_lua_preload(ngx_conf_t *cf) } return NGX_OK; -} \ No newline at end of file +}