From 8633d91c4021194334bbd06a05483e5ec6ab82db Mon Sep 17 00:00:00 2001 From: Bernhard Amann Date: Thu, 26 Jul 2012 12:15:06 -0700 Subject: [PATCH] and remove superflous print. Yes, I know, look at the diff before committing... --- .../btest/scripts/base/frameworks/input/subrecord-event.bro | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/testing/btest/scripts/base/frameworks/input/subrecord-event.bro b/testing/btest/scripts/base/frameworks/input/subrecord-event.bro index 244eefbc3b..4e7dc1690a 100644 --- a/testing/btest/scripts/base/frameworks/input/subrecord-event.bro +++ b/testing/btest/scripts/base/frameworks/input/subrecord-event.bro @@ -59,7 +59,7 @@ event line(description: Input::EventDescription, tpe: Input::Event, value: Val) { print outfile, value; try = try + 1; - if ( try == 7 ) + if ( try == 1 ) { close(outfile); terminate(); @@ -70,8 +70,6 @@ event bro_init() { try = 0; outfile = open("../out"); - # first read in the old stuff into the table... Input::add_event([$source="../input.log", $name="ssh", $fields=Val, $ev=line, $want_record=T]); Input::remove("ssh"); - print "Hi"; }