mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
rule-parse: Remove [event_name] syntax, deprecate msg as identifier
As suggested by Robin. Thanks.
This commit is contained in:
parent
0b5126f650
commit
f3470843d6
12 changed files with 68 additions and 39 deletions
|
@ -15,6 +15,8 @@ using std::string;
|
|||
|
||||
namespace zeek::detail {
|
||||
|
||||
bool is_event(const char* id) { return zeek::event_registry->Lookup(id) != nullptr; }
|
||||
|
||||
RuleActionEvent::RuleActionEvent(const char* arg_msg)
|
||||
: msg(make_intrusive<StringVal>(arg_msg)), handler(signature_match) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue