undefined value as a SCALAR

Hi ya,

Yesterday I have installed Bro 1.3.x from SVN on one of our test servers and
noticed the follow message when try to run site-report.pl:

Finished processing alarm files
Starting processing of conn file /nsm/bro/logs/conn.test.08-03-12_13.48.58-08-03-13_00.00.00
Finished processing conn file
Starting processing of conn file /nsm/bro/logs/conn.test.08-03-13_13.15.13-08-03-13_13.15.20
Finished processing conn file
Can't use an undefined value as a SCALAR reference at /usr/local/bin/site-report.pl line 1281.
: 1204412358.158256
Generating report file: /nsm/bro/reports/yirdis.net.1205481090.21744.rpt

Although it says it is generating a report, the report itself is empty:

# ls -l /nsm/bro/reports/yirdis.net.1205481090.21744.rpt
-rw-r--r-- 1 root bro 0 Mar 14 08:51 /nsm/bro/reports/yirdis.net.1205481090.21744.rpt

Kind regards,

Hi Robin,
That contains the line 1281 on /usr/local/bin/site-report.pl ?
Regards
Rmkml

The following entry:
..
if( !( print $fh $$part ) )
..

site-report.pl is located in the bro source tree under scripts/perl/script.

Regards,

Robin Gruyters