From: Mats Klepsland Date: Mon, 23 Jun 2014 07:14:16 +0000 (+0200) Subject: Fix bug #1206 X-Git-Tag: suricata-2.0.2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f3fbbc9924a9510e204676ff4ad6a37aa12fcd0;p=thirdparty%2Fsuricata.git 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). --- 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;