Login's confused messages now go through weird.bro.

This commit is contained in:
Robin Sommer 2011-01-31 16:40:24 -08:00
parent 88b31a04d0
commit e00acaddd8
3 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,7 @@
1.6-dev.39 Mon Jan 31 16:42:23 PST 2011
- Login's confused messages now go through weird.bro. (Robin Sommer)
1.6-dev.36 Mon Jan 31 08:45:35 PST 2011 1.6-dev.36 Mon Jan 31 08:45:35 PST 2011
- Adding more configure options for finding dependencies, (Jon Siwek) - Adding more configure options for finding dependencies, (Jon Siwek)

View file

@ -1 +1 @@
1.6-dev.36 1.6-dev.39

View file

@ -544,10 +544,7 @@ event login_confused(c: connection, msg: string, line: string)
append_addl(c, "<confused>"); append_addl(c, "<confused>");
if ( line == "" ) event conn_weird_addl(msg, c, line);
print Weird::weird_file, fmt("%.6f %s %s", network_time(), id_string(c$id), msg);
else
print Weird::weird_file, fmt("%.6f %s %s (%s)", network_time(), id_string(c$id), msg, line);
set_record_packets(c$id, T); set_record_packets(c$id, T);
} }