1
0
mirror of synced 2024-12-05 00:55:42 +01:00

Replacing macro with explicit def for backwards compatibility

This commit is contained in:
Forrest Pruitt 2018-05-01 18:14:12 -06:00
parent 99230f66d5
commit c27329a372

View File

@ -24,7 +24,7 @@ static ngx_http_variable_t ngx_http_ipscrub_vars[] = {
{ngx_string("remote_addr_ipscrub"), NULL, ngx_http_variable_remote_addr_ipscrub, 0, 0, 0},
{ngx_string("ipscrub_hash_debug"), NULL, ngx_http_variable_remote_addr_ipscrub_debug, 0, 0, 0},
{ngx_string("ipscrub_salted_hash_debug"), NULL, ngx_http_variable_ipscrub_salted_hash_debug, 0, 0, 0},
ngx_http_null_variable};
{ngx_null_string, NULL, NULL, 0, 0, 0 }};
static ngx_command_t ngx_ipscrub_commands[] = {