binpac: Rename Bro to Zeek

This commit is contained in:
Daniel Thayer 2019-05-16 23:55:02 -05:00 committed by Tim Wojtulewicz
parent 533d823514
commit 078722fc8d
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ Big features
* Case and analyzer redef * Case and analyzer redef
* &also withinput * &also withinput
* Explicit analyzer context (interface + instantiation) "withcontext" * Explicit analyzer context (interface + instantiation) "withcontext"
+ Interface with C++ and Bro (events, extern, weird) + Interface with C++ and Zeek (events, extern, weird)
+ Incremental input + Incremental input
+ ASCII protocols + ASCII protocols
+ Reassembly + Reassembly

View file

@ -12,7 +12,7 @@ namespace binpac
// Must be called before any binpac functionality is used. // Must be called before any binpac functionality is used.
// //
// Note, this must be declared/defined here, and inline, because the RE // Note, this must be declared/defined here, and inline, because the RE
// functionality can only be used when compiling from inside Bro. // functionality can only be used when compiling from inside Zeek.
// A copy is made of any FlowBuffer policy struct data passed. // A copy is made of any FlowBuffer policy struct data passed.
inline void init(FlowBuffer::Policy* fbp = 0); inline void init(FlowBuffer::Policy* fbp = 0);

View file

@ -18,7 +18,7 @@ private:
string msg_; string msg_;
}; };
// Copied from util.cc of Bro // Copied from util.cc of Zeek
int expand_escape(const char*& s) int expand_escape(const char*& s)
{ {
switch ( *(s++) ) { switch ( *(s++) ) {
@ -80,7 +80,7 @@ int expand_escape(const char*& s)
ConstString::ConstString(const string &s) ConstString::ConstString(const string &s)
: str_(s) : str_(s)
{ {
// Copied from scan.l of Bro // Copied from scan.l of Zeek
try try
{ {
const char* text = str_.c_str(); const char* text = str_.c_str();