]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rx.c
CHANGES: Add/move change(s) backported to 4.99
[tcpdump] / print-rx.c
index 0a1a8d12d40d167b3fc518184b0506a2f14da78d..3641a4c79e53a0016c2d19d664a5fbc1eeb8211b 100644 (file)
@@ -35,9 +35,7 @@
  * Ken Hornstein <[email protected]>
  */
 
-#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; \