haproxy: upstream fixes
[feed/packages.git] / net / haproxy / patches / 0016-BUG-MINOR-debug-display-null-in-place-of-meth.patch
1 From c51fe0fb249db735c5b103ec99559a0254d58441 Mon Sep 17 00:00:00 2001
2 From: Thierry FOURNIER <tfournier@haproxy.com>
3 Date: Wed, 3 Jun 2015 20:12:04 +0200
4 Subject: [PATCH 16/18] BUG/MINOR: debug: display (null) in place of "meth"
5
6 The array which contains names of types, miss the METH entry.
7
8 [wt: should be backported to 1.5 as well]
9 (cherry picked from commit 4c2479e1c455e2cc46c02cfc28ea2a185f9a7747)
10 ---
11 src/sample.c | 1 +
12 1 file changed, 1 insertion(+)
13
14 diff --git a/src/sample.c b/src/sample.c
15 index 87c9f60..59c80b2 100644
16 --- a/src/sample.c
17 +++ b/src/sample.c
18 @@ -40,6 +40,7 @@ const char *smp_to_type[SMP_TYPES] = {
19 [SMP_T_IPV6] = "ipv6",
20 [SMP_T_STR] = "str",
21 [SMP_T_BIN] = "bin",
22 + [SMP_T_METH] = "meth",
23 };
24
25 /* static sample used in sample_process() when <p> is NULL */
26 --
27 2.3.6
28