From 98272253d8818161d7aa0518825f4fa84e58d4cd Mon Sep 17 00:00:00 2001 From: Miroslav Zagorac 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 b53d58d444..c7522e942d 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.47.3