From 0ce678df1256527875a1fbc8be0b30ab19971902 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Fri, 6 Apr 2018 13:09:09 +0200 Subject: Add timestamp to output --- script/mid.bro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/mid.bro b/script/mid.bro index 3ba0f1d..97badf1 100644 --- a/script/mid.bro +++ b/script/mid.bro @@ -126,7 +126,7 @@ function midbro_generate_events(transaction: Transaction, c: connection, local val = registers[filter_mem_addr - transaction$start_address]; local other_val = registers[filter_mem_addr - transaction$start_address - 1]; local f = open_for_append("/home/pi/data/pasad/values_other.txt"); - print f, val, other_val; + print f, current_time(), val, other_val; close(f); } } else { -- cgit v1.2.3