From: Cyril Bonté Date: Mon, 9 May 2011 18:44:54 +0000 (+0200) Subject: [BUG] fix binary stick-tables X-Git-Tag: v1.5-dev8~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c51a732f701f7d147e7b79d828f80612a0bfcbc;p=thirdparty%2Fhaproxy.git [BUG] fix binary stick-tables As reported by Lauri-Alo Adamson, version 1.5-dev6 doesn't support stick-tables with a binary type. This issue was introduced in the commit 4f92d32 where a line was erroneously deleted, and is 1.5-specific. --- diff --git a/src/stick_table.c b/src/stick_table.c index 20bae5fb8a..8fb10cfe23 100644 --- a/src/stick_table.c +++ b/src/stick_table.c @@ -578,6 +578,7 @@ static pattern_to_key_fct pattern_to_key[PATTERN_TYPES][STKTABLE_TYPES] = { /* STRING */ { k_str2ip, k_str2ipv6, k_str2int, k_str2str, k_str2str }, /* DATA */ { NULL, NULL, NULL, NULL, k_str2str }, /* CONSTSTRING */ { k_str2ip, k_str2ipv6, k_str2int, k_str2str, k_str2str }, +/* CONSTDATA */ { NULL, NULL, NULL, NULL , k_str2str }, };