break;
#endif
case RUNMODE_PLUGIN: {
+#ifdef HAVE_PLUGINS
SCCapturePlugin *plugin = SCPluginFindCaptureByName(capture_plugin_name);
if (plugin == NULL) {
FatalError(SC_ERR_PLUGIN, "No capture plugin found with name %s",
capture_plugin_name);
}
custom_mode = (const char *)plugin->GetDefaultMode();
+#endif
break;
}
case RUNMODE_NFQ:
FeatureTrackingRegister(); /* must occur prior to output mod registration */
RegisterAllModules();
-
+#ifdef HAVE_PLUGINS
SCPluginsLoad(suri->capture_plugin_name, suri->capture_plugin_args);
-
+#endif
AppLayerHtpNeedFileInspection();
StorageFinalize();