From 9e70716d5ae8d8b9859ee23724b144a47cb8a4d2 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 9 Jul 2019 13:46:23 +0200 Subject: [PATCH] runmodes: remove no-Rust logic --- src/runmodes.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/runmodes.c b/src/runmodes.c index 32b2657e1e..1d7d82cbf0 100644 --- a/src/runmodes.c +++ b/src/runmodes.c @@ -669,22 +669,6 @@ static void RunModeInitializeEveOutput(ConfNode *conf, OutputCtx *parent_ctx) /* Error is no registered loggers with this name * were found .*/ if (!sub_count) { -#ifndef HAVE_RUST - const char *rust_types[] = { "eve-log.smb", "eve-log.nfs", - "eve-log.dhcp", "eve-log.krb5", "eve-log.ikev2", - "eve-log.tftp", NULL, }; - const char **iter = rust_types; - bool is_rust = false; - while (*iter) { - is_rust |= (strcmp(*iter, subname) == 0); - iter++; - } - if (is_rust) { - SCLogWarning(SC_WARN_RUST_NOT_AVAILABLE, "output " - "module '%s' depends on Rust support", subname); - continue; - } -#endif FatalErrorOnInit(SC_ERR_INVALID_ARGUMENT, "No output module named %s", subname); continue;