mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-27 09:06:46 -04:00
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.
This commit is contained in:
parent
bc89ad8d94
commit
7df4185f3c
1 changed files with 1 additions and 0 deletions
1
src/da.c
1
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue