From: Michael Altizer (mialtize) Date: Sun, 13 Sep 2020 04:14:10 +0000 (+0000) Subject: Merge pull request #2469 in SNORT/snort3 from ~OSHUMEIK/snort3:wand to master X-Git-Tag: 3.0.2-6~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c40e3c8e7eda85acde633e4ada600cf4f2b2513;p=thirdparty%2Fsnort3.git Merge pull request #2469 in SNORT/snort3 from ~OSHUMEIK/snort3:wand to master Squashed commit of the following: commit 1c363abe0803a853ce6945c35fc58ed1b091265b Author: Oleksii Shumeiko Date: Fri Sep 11 11:50:10 2020 +0300 wizard: fix the error message about invalid pattern --- diff --git a/src/service_inspectors/wizard/wiz_module.cc b/src/service_inspectors/wizard/wiz_module.cc index c2acf44db..c6d2b8ce4 100644 --- a/src/service_inspectors/wizard/wiz_module.cc +++ b/src/service_inspectors/wizard/wiz_module.cc @@ -200,7 +200,7 @@ bool WizardModule::add_spells(MagicBook* b, string& service, bool hex) if ( !val ) { ParseError("Invalid %s '%s' for service '%s'", - hex ? "hex" : "spell", service.c_str(), p.c_str()); + hex ? "hex" : "spell", p.c_str(), service.c_str()); return false; } else if ( service != val )