]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2736 in SNORT/snort3 from ~OSHUMEIK/snort3:default_module_end...
authorBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 11 Feb 2021 17:24:39 +0000 (17:24 +0000)
committerBhagya Tholpady (bbantwal) <bbantwal@cisco.com>
Thu, 11 Feb 2021 17:24:39 +0000 (17:24 +0000)
Squashed commit of the following:

commit 597c069734ebcddf8763bbde18bf4d48adf430ae
Author: Oleksii Shumeiko <oshumeik@cisco.com>
Date:   Fri Feb 5 16:00:28 2021 +0200

    managers: pass the configuration to default module's end()

    Thanks to W. Michael Petullo for reporting the issue.

src/managers/module_manager.cc

index 9694d79518d3396c7c49c4b0e6f8af985fd4d516..1a73c35cd37dd6a1902e62f220eaa9ca4a630b33 100644 (file)
@@ -867,7 +867,7 @@ Module* ModuleManager::get_default_module(const char* s, SnortConfig* sc)
     if ( mod )
     {
         mod->verified_begin(s, 0, sc);
-        mod->verified_end(s, 0, nullptr);
+        mod->verified_end(s, 0, sc);
     }
     return mod;
 }