From 1f3fbbc9924a9510e204676ff4ad6a37aa12fcd0 Mon Sep 17 00:00:00 2001 From: Mats Klepsland Date: Mon, 23 Jun 2014 09:14:16 +0200 Subject: [PATCH] Fix bug #1206 PF_RING ZC uses clusters in the same way as PF_RING DNA. Therefore, this bug can be fixed as it was fixed for DNA (bug #598). --- src/source-pfring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/source-pfring.c b/src/source-pfring.c index 34eff68912..c239bfa102 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -472,6 +472,8 @@ TmEcode ReceivePfringThreadInit(ThreadVars *tv, void *initdata, void **data) { if ((ptv->threads == 1) && (strncmp(ptv->interface, "dna", 3) == 0)) { SCLogInfo("DNA interface detected, not adding thread to cluster"); + } else if (strncmp(ptv->interface, "zc", 2) == 0) { + SCLogInfo("ZC interface detected, not adding thread to cluster"); } else { #ifdef HAVE_PFRING_CLUSTER_TYPE ptv->ctype = pfconf->ctype; -- 2.47.3