]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Generic code don't need ifdef
authorEric Leblond <eric@regit.org>
Tue, 28 May 2013 09:12:19 +0000 (11:12 +0200)
committerEric Leblond <eric@regit.org>
Tue, 30 Jul 2013 13:22:34 +0000 (15:22 +0200)
src/suricata.c

index 0de5c1a589104ed010e4726396e0630a5cd36c7c..05ddd567a7d7f211e3cb769ee720dbaceb870e8e 100644 (file)
@@ -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)) {