summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/conntrack_dump.c2
-rw-r--r--utils/conntrack_events.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/conntrack_dump.c b/utils/conntrack_dump.c
index a36e753..f1d63bb 100644
--- a/utils/conntrack_dump.c
+++ b/utils/conntrack_dump.c
@@ -11,7 +11,7 @@ static int cb(enum nf_conntrack_msg_type type,
{
char buf[1024];
- nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, NFCT_OF_SHOW_LAYER3);
+ nfct_snprintf(buf, sizeof(buf), ct, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, NFCT_OF_SHOW_LAYER3 | NFCT_OF_TIMESTAMP);
printf("%s\n", buf);
return NFCT_CB_CONTINUE;
diff --git a/utils/conntrack_events.c b/utils/conntrack_events.c
index f5e72c7..7675663 100644
--- a/utils/conntrack_events.c
+++ b/utils/conntrack_events.c
@@ -12,7 +12,7 @@ static int event_cb(enum nf_conntrack_msg_type type,
static int n = 0;
char buf[1024];
- nfct_snprintf(buf, sizeof(buf), ct, type, NFCT_O_XML, NFCT_OF_TIME);
+ nfct_snprintf(buf, sizeof(buf), ct, type, NFCT_O_XML, NFCT_OF_TIME | NFCT_OF_TIMESTAMP);
printf("%s\n", buf);
if (++n == 10)