Generic code don't need ifdef

pull/479/head
Eric Leblond 13 years ago
parent 8c00a963aa
commit 02e9851315

@ -844,7 +844,6 @@ static TmEcode ParseInterfacesList(int run_mode, char *pcap_dev)
} }
} }
#endif #endif
#ifdef HAVE_PFRING
} else if (run_mode == RUNMODE_PFRING) { } else if (run_mode == RUNMODE_PFRING) {
/* FIXME add backward compat support */ /* FIXME add backward compat support */
/* iface has been set on command line */ /* 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 */ /* not an error condition if we have a 1.0 config */
LiveBuildDeviceList("pfring"); LiveBuildDeviceList("pfring");
} }
#endif /* HAVE_PFRING */
} else if (run_mode == RUNMODE_AFP_DEV) { } else if (run_mode == RUNMODE_AFP_DEV) {
/* iface has been set on command line */ /* iface has been set on command line */
if (strlen(pcap_dev)) { if (strlen(pcap_dev)) {

Loading…
Cancel
Save