X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1de7ca1bece680d168b8ee6e3bf61ce683857301..4c683712d4b483b43f16d41d09ec6232cbc917ca:/smbutil.c diff --git a/smbutil.c b/smbutil.c index e512e324..fa5e133f 100644 --- a/smbutil.c +++ b/smbutil.c @@ -6,9 +6,7 @@ * or later */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -800,8 +798,8 @@ smb_fdata1(netdissect_options *ndo, break; } if (t != 0) { - tstring = nd_format_time(buffer, sizeof(buffer), "%a %b %e %T %Y", - localtime(&t)); + tstring = nd_format_time(buffer, sizeof(buffer), "%Y-%m-%d %T", + localtime(&t)); } else tstring = "NULL"; ND_PRINT("%s\n", tstring);