Hello,

due to the modified function declaration, the opentracing filter can no longer be compiled.

In commit 9533a7038 new parameters have been added to the declaration
of function parse_logsrv().

This patch should be backported to all branches where the OpenTracing
filter is located.

--
Zaga    <[email protected]>

What can change the nature of a man?
>From baae10ef8a2eb487328664a3ff04475cd5d76179 Mon Sep 17 00:00:00 2001
From: Miroslav Zagorac <[email protected]>
Date: Wed, 7 Apr 2021 11:14:23 +0200
Subject: [PATCH] MINOR: opentracing: register config file and line number on
 log servers

In commit 9533a7038 new parameters have been added to the declaration
of function parse_logsrv().

This patch should be backported to all branches where the OpenTracing
filter is located.
---
 addons/ot/src/parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/addons/ot/src/parser.c b/addons/ot/src/parser.c
index b53d58d44..c7522e942 100644
--- a/addons/ot/src/parser.c
+++ b/addons/ot/src/parser.c
@@ -490,7 +490,7 @@ static int flt_ot_parse_cfg_tracer(const char *file, int linenum, char **args, i
 		}
 	}
 	else if (pdata->keyword == FLT_OT_PARSE_TRACER_LOG) {
-		if (parse_logsrv(args, &(flt_ot_current_tracer->proxy_log.logsrvs), kw_mod == KWM_NO, &err_log) == 0) {
+		if (parse_logsrv(args, &(flt_ot_current_tracer->proxy_log.logsrvs), kw_mod == KWM_NO, file, linenum, &err_log) == 0) {
 			FLT_OT_PARSE_ERR(&err, "'%s %s ...' : %s", args[0], args[1], err_log);
 			FLT_OT_FREE_CLEAR(err_log);
 
-- 
2.30.1

Reply via email to