summaryrefslogtreecommitdiffstats
path: root/print-rx.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:33 +0000
commit7ba700b7f6e5fb17d280e2b8a3ae28866777715f (patch)
tree2f538ff3d975beabb6c371d999b1ee6e8b91cfb5 /print-rx.c
parentReleasing progress-linux version 4.99.4-4~progress7.99u1. (diff)
downloadtcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.tar.xz
tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.zip
Merging upstream version 4.99.5.
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; \