From 7c51a732f701f7d147e7b79d828f80612a0bfcbc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Cyril=20Bont=C3=A9?= Date: Mon, 9 May 2011 20:44:54 +0200 Subject: [PATCH] [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. --- src/stick_table.c | 1 + 1 file changed, 1 insertion(+) 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 }, }; -- 2.47.3