summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libipulog_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libipulog_compat.c b/src/libipulog_compat.c
index 99cd866..bf95727 100644
--- a/src/libipulog_compat.c
+++ b/src/libipulog_compat.c
@@ -158,7 +158,7 @@ next_msg: printf("next\n");
else
h->upmsg.mark = 0;
- if (tb[NFULA_TIMESTAMP]) {
+ if (tb[NFULA_TIMESTAMP-1]) {
/* FIXME: 64bit network-to-host */
h->upmsg.timestamp_sec = h->upmsg.timestamp_usec = 0;
} else