mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Move a few low-use classes to namespaces
This commit is contained in:
parent
886fc102b8
commit
c9ab1f93e7
53 changed files with 252 additions and 122 deletions
|
@ -14,6 +14,8 @@
|
|||
#include "IP.h"
|
||||
#include "Reporter.h" // for InterpreterException
|
||||
|
||||
namespace zeek::detail {
|
||||
|
||||
Discarder::Discarder()
|
||||
{
|
||||
check_ip = zeek::id::find_func("discarder_check_ip");
|
||||
|
@ -165,3 +167,5 @@ zeek::Val* Discarder::BuildData(const u_char* data, int hdrlen, int len, int cap
|
|||
|
||||
return new zeek::StringVal(new zeek::String(data, len, true));
|
||||
}
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue