1
0
mirror of synced 2024-12-04 16:45:42 +01:00

Merge pull request #1 from fpruitt/fix/backwards-compat

Backwards Compatibility Patch for fixed compilation error for 'undefined ngx_http_null_variable'
This commit is contained in:
Mason Simon 2018-05-14 08:23:02 -07:00 committed by GitHub
commit eb6a979509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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[] = {