From 9af382186b59b65611eb689d4eb24ca7f558c31a Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Fri, 28 May 2021 17:16:26 +0000 Subject: [PATCH] regex_reval: bug where rule type is always reported as the first --- plugins/regex_revalidate/regex_revalidate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/regex_revalidate/regex_revalidate.c b/plugins/regex_revalidate/regex_revalidate.c index 56241355809..01711f1a973 100644 --- a/plugins/regex_revalidate/regex_revalidate.c +++ b/plugins/regex_revalidate/regex_revalidate.c @@ -341,7 +341,7 @@ list_config(plugin_state_t *pstate, invalidate_t *i) if (i) { iptr = i; while (iptr) { - char const *const typestr = strForResult(i->new_result); + char const *const typestr = strForResult(iptr->new_result); TSDebug(LOG_PREFIX, "%s epoch: %d expiry: %d result: %s", iptr->regex_text, (int)iptr->epoch, (int)iptr->expiry, typestr); if (pstate->log) { TSTextLogObjectWrite(pstate->log, "%s epoch: %d expiry: %d result: %s", iptr->regex_text, (int)iptr->epoch,