From 5850607fea4cdd9a019b370cbf8891f272b5691a Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 6 Dec 2013 13:38:26 -0600 Subject: [PATCH] Remove the old include support. --- src/suricata.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/suricata.c b/src/suricata.c index b788c90d3d..221653d486 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -815,20 +815,6 @@ TmEcode LoadYamlConfig(char *conf_filename) { SCReturnInt(TM_ECODE_FAILED); } - ConfNode *file; - ConfNode *includes = ConfGetNode("include"); - if (includes != NULL) { - TAILQ_FOREACH(file, &includes->head, next) { - char *ifile = ConfLoadCompleteIncludePath(file->val); - SCLogInfo("Including: %s", ifile); - - if (ConfYamlLoadFile(ifile) != 0) { - /* Error already displayed. */ - SCReturnInt(TM_ECODE_FAILED); - } - } - } - SCReturnInt(TM_ECODE_OK); }