[Bro-Dev] [Bro-Commits] [git/bro] fastpath: make want_record=T the default for events (76ea182)

Vlad Grigorescu vladg at cmu.edu
Fri Jul 27 05:17:23 PDT 2012


So, the documentation right above it should probably be changed also.
Also, while we're at it, "seperate," "signle," and "rised" might as well
be fixed.

  --Vlad

On 7/27/12 12:14 AM, "Bernhard Amann" <bernhard at ICSI.Berkeley.EDU> wrote:

diff --git a/scripts/base/frameworks/input/main.bro
b/scripts/base/frameworks/input/main.bro
index c31f92d..7f01540 100644
--- a/scripts/base/frameworks/input/main.bro
+++ b/scripts/base/frameworks/input/main.bro
@@ -84,7 +84,7 @@ export {
		## If want_record if false (default), the event receives each value in
fields as a seperate argument.
		## If it is set to true, the event receives all fields in a signle
record value.
-		want_record: bool &default=F;
+		want_record: bool &default=T;
		## The event that is rised each time a new line is received from the
reader.
		## The event will receive an Input::Event enum as the first element, and
the fields as the following arguments.




More information about the bro-dev mailing list