bro -B <x> now supports "all" and "help" for <x>.

"all" enables all debug streams. "help" prints a list of available
debug streams.

Based on patch by John Donnelly.

BIT-1313 #merged
This commit is contained in:
Robin Sommer 2015-03-23 11:22:47 -07:00
parent 1d49ec63f8
commit 1dbc5ed523
6 changed files with 86 additions and 12 deletions

View file

@ -78,6 +78,8 @@ public:
void SetVerbose(bool arg_verbose) { verbose = arg_verbose; }
bool IsVerbose() const { return verbose; }
void ShowStreamsHelp();
private:
FILE* file;
bool verbose;