From c27329a37220f34a0a25d9737bb03a952d0f11c5 Mon Sep 17 00:00:00 2001 From: Forrest Pruitt Date: Tue, 1 May 2018 18:14:12 -0600 Subject: [PATCH] Replacing macro with explicit def for backwards compatibility --- ipscrub/src/ngx_ipscrub_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipscrub/src/ngx_ipscrub_module.c b/ipscrub/src/ngx_ipscrub_module.c index ed9e358..09a2ef4 100644 --- a/ipscrub/src/ngx_ipscrub_module.c +++ b/ipscrub/src/ngx_ipscrub_module.c @@ -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[] = {