aboutsummaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-04-06 13:09:09 +0200
committerRobin Krahl <me@robin-krahl.de>2018-04-06 13:09:09 +0200
commit0ce678df1256527875a1fbc8be0b30ab19971902 (patch)
treecdfb9d70333bff9efba1df45d00f06d895296348 /script
parent48bae972f12d8e68550abbef31256bec2457f0a0 (diff)
downloadmidbro-0ce678df1256527875a1fbc8be0b30ab19971902.tar.gz
midbro-0ce678df1256527875a1fbc8be0b30ab19971902.tar.bz2
Add timestamp to outputHEADmaster
Diffstat (limited to 'script')
-rw-r--r--script/mid.bro2
1 files changed, 1 insertions, 1 deletions
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 {