[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.
This commit is contained in:
Cyril Bont 2011-05-09 20:44:54 +02:00 committed by Willy Tarreau
parent 96dd079b49
commit 7c51a732f7

View File

@ -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 },
};