From 7df4185f3c0ca87fb1fe47522af452d98e0e36e7 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Wed, 10 Jul 2019 21:19:24 +0100 Subject: [PATCH] BUG/MEDIUM: da: cast the chunk to string. in fetch mode, the output was incorrect, setting the type to string explicitally. This should be backported to all stable versions. --- src/da.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/da.c b/src/da.c index f5e013528..5549112ca 100644 --- a/src/da.c +++ b/src/da.c @@ -254,6 +254,7 @@ static int da_haproxy(const struct arg *args, struct sample *smp, da_deviceinfo_ smp->data.u.str.area = tmp->area; smp->data.u.str.data = tmp->data; + smp->data.type = SMP_T_STR; return 1; }