detect/mpm: fix hs check

pull/5188/head
Victor Julien 5 years ago
parent 6cbb4d4909
commit 9831839388

@ -638,7 +638,6 @@ uint16_t PatternMatchDefaultMatcher(void)
goto done;
}
}
}
#ifndef BUILD_HYPERSCAN
if ((strcmp(mpm_algo, "hs") == 0)) {
@ -646,6 +645,7 @@ uint16_t PatternMatchDefaultMatcher(void)
"not compiled into Suricata.");
}
#endif
}
FatalError(SC_ERR_INVALID_YAML_CONF_ENTRY, "Invalid mpm algo supplied "
"in the yaml conf file: \"%s\"", mpm_algo);
}

Loading…
Cancel
Save