From: Miroslav Zagorac Date: Wed, 7 Apr 2021 09:14:23 +0000 (+0200) Subject: MINOR: opentracing: register config file and line number on log servers X-Git-Tag: v2.4-dev16~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98272253d8818161d7aa0518825f4fa84e58d4cd;p=thirdparty%2Fhaproxy.git 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. --- 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);