summaryrefslogtreecommitdiffstats
path: root/print-rx.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
commit31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d (patch)
tree99d6c086833d530e5d1d33a8128961f8149843f0 /print-rx.c
parentAdding upstream version 4.99.4. (diff)
downloadtcpdump-ddb52baf9b7e43d90d652aef109200fa63ba0497.tar.xz
tcpdump-ddb52baf9b7e43d90d652aef109200fa63ba0497.zip
Adding upstream version 4.99.5.upstream/4.99.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-rx.c')
-rw-r--r--print-rx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-rx.c b/print-rx.c
index 0a1a8d1..3641a4c 100644
--- a/print-rx.c
+++ b/print-rx.c
@@ -35,9 +35,7 @@
* Ken Hornstein <kenh@cmf.nrl.navy.mil>
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <stdio.h>
#include <string.h>
@@ -799,7 +797,7 @@ rx_cache_find(netdissect_options *ndo, const struct rx_header *rxh,
bp += sizeof(int32_t); \
ND_PRINT(" %s", \
nd_format_time(str, sizeof(str), \
- "%Y/%m/%d %H:%M:%S", localtime(&_t))); \
+ "%Y-%m-%d %H:%M:%S", localtime(&_t))); \
}
#define STOREATTROUT() { uint32_t mask, _i; \