summaryrefslogtreecommitdiff
path: root/src/sync-ftfw.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-06-20 21:11:06 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2009-06-20 21:11:06 +0200
commit4cfc8533743a766db0b2c8ae27b7bba312eb3ec0 (patch)
tree68c51ca4088b7ae8286d022843e0facd62885fe6 /src/sync-ftfw.c
parentfaea76e8bc626549f4d338a3bf22e466336264ca (diff)
downloadconntrack-tools-4cfc8533743a766db0b2c8ae27b7bba312eb3ec0.tar.gz
conntrack-tools-4cfc8533743a766db0b2c8ae27b7bba312eb3ec0.zip
conntrackd: add the name field to queues
This patch adds the name field to identify the queue by means of a string. This patch is used by the next one that introduces per-queue statistics. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-ftfw.c')
-rw-r--r--src/sync-ftfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c
index e7c9af2..bf9f4f7 100644
--- a/src/sync-ftfw.c
+++ b/src/sync-ftfw.c
@@ -143,7 +143,7 @@ static void do_alive_alarm(struct alarm_block *a, void *data)
static int ftfw_init(void)
{
- rs_queue = queue_create(CONFIG(resend_queue_size), 0);
+ rs_queue = queue_create("rsqueue", CONFIG(resend_queue_size), 0);
if (rs_queue == NULL) {
dlog(LOG_ERR, "cannot create rs queue");
return -1;