]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: debug: display (null) in place of "meth"
authorThierry FOURNIER <tfournier@haproxy.com>
Wed, 3 Jun 2015 18:12:04 +0000 (20:12 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 9 Jun 2015 08:58:14 +0000 (10:58 +0200)
The array which contains names of types, miss the METH entry.

[wt: should be backported to 1.5 as well]

src/sample.c

index 1993255a46d2a6b1657fb375c929fa4f4b4fb473..2fd97bbb5815d19b3f99b3ed00f8cb7579ea6baf 100644 (file)
@@ -46,6 +46,7 @@ const char *smp_to_type[SMP_TYPES] = {
        [SMP_T_IPV6] = "ipv6",
        [SMP_T_STR]  = "str",
        [SMP_T_BIN]  = "bin",
+       [SMP_T_METH] = "meth",
 };
 
 /* static sample used in sample_process() when <p> is NULL */