From 02e985131522c3b36f8dcf87c2ff48973bbe3e19 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 28 May 2013 11:12:19 +0200 Subject: [PATCH] Generic code don't need ifdef --- src/suricata.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/suricata.c b/src/suricata.c index 0de5c1a589..05ddd567a7 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -844,7 +844,6 @@ static TmEcode ParseInterfacesList(int run_mode, char *pcap_dev) } } #endif -#ifdef HAVE_PFRING } else if (run_mode == RUNMODE_PFRING) { /* FIXME add backward compat support */ /* iface has been set on command line */ @@ -857,7 +856,6 @@ static TmEcode ParseInterfacesList(int run_mode, char *pcap_dev) /* not an error condition if we have a 1.0 config */ LiveBuildDeviceList("pfring"); } -#endif /* HAVE_PFRING */ } else if (run_mode == RUNMODE_AFP_DEV) { /* iface has been set on command line */ if (strlen(pcap_dev)) {