]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rx.c
RX: Use the "%Y-%m-%d" date format
[tcpdump] / print-rx.c
index 0a1a8d12d40d167b3fc518184b0506a2f14da78d..5db9112585aaf68cc8fc6da70f93a74ed546c3a4 100644 (file)
@@ -799,7 +799,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; \