mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Only allow a single trace file (-r) or interface (-i) option on the command-line
This commit is contained in:
parent
2b2121be60
commit
f16f0360ff
17 changed files with 93 additions and 141 deletions
|
@ -207,7 +207,7 @@ void Manager::Register(IOSource* src, bool dont_count)
|
|||
|
||||
void Manager::Register(PktSrc* src)
|
||||
{
|
||||
pkt_srcs.push_back(src);
|
||||
pkt_src = src;
|
||||
Register(src, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue