mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Interface tweaks for PktSrc, plus docs for PktSrc and PktDumper.
This commit is contained in:
parent
5f817513d0
commit
3e669daa05
15 changed files with 464 additions and 101 deletions
|
@ -86,6 +86,7 @@ bool BPF_Program::Compile(pcap_t* pcap, const char* filter, uint32 netmask,
|
|||
}
|
||||
|
||||
m_compiled = true;
|
||||
m_matches_anything = (strlen(filter) == 0 || strcmp(filter, "ip or not ip") == 0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue