mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
and remove superflous print.
Yes, I know, look at the diff before committing...
This commit is contained in:
parent
4a959c1a33
commit
8633d91c40
1 changed files with 1 additions and 3 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue