mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 19:18:19 +00:00
Promote libz and libmagic to required dependencies.
This commit is contained in:
parent
151664bc26
commit
d750c3ba74
20 changed files with 26 additions and 114 deletions
|
@ -1188,15 +1188,10 @@ void IRC_Analyzer::DeliverStream(int length, const u_char* line, bool orig)
|
|||
if ( orig_status == REGISTERED && resp_status == REGISTERED &&
|
||||
orig_zip_status == ACCEPT_ZIP && resp_zip_status == ACCEPT_ZIP )
|
||||
{
|
||||
#ifdef HAVE_LIBZ
|
||||
orig_zip_status = ZIP_LOADED;
|
||||
resp_zip_status = ZIP_LOADED;
|
||||
AddSupportAnalyzer(new ZIP_Analyzer(Conn(), true));
|
||||
AddSupportAnalyzer(new ZIP_Analyzer(Conn(), false));
|
||||
#else
|
||||
reporter->Error("IRC analyzer lacking libz support");
|
||||
Remove();
|
||||
#endif
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue