From: Eric Leblond Date: Tue, 28 May 2013 09:12:19 +0000 (+0200) Subject: Generic code don't need ifdef X-Git-Tag: suricata-2.0beta2~437 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02e985131522c3b36f8dcf87c2ff48973bbe3e19;p=thirdparty%2Fsuricata.git Generic code don't need ifdef --- 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)) {