X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7578e1c04ee280dda50c4c2813e7d55f539c6501..HEAD:/print-rx.c diff --git a/print-rx.c b/print-rx.c index dbef71c0..3641a4c7 100644 --- a/print-rx.c +++ b/print-rx.c @@ -35,9 +35,7 @@ * Ken Hornstein */ -#ifdef HAVE_CONFIG_H #include -#endif #include #include @@ -441,17 +439,17 @@ static const char *voltype[] = { "read-write", "read-only", "backup" }; static const struct tok afs_fs_errors[] = { { 101, "salvage volume" }, - { 102, "no such vnode" }, - { 103, "no such volume" }, - { 104, "volume exist" }, - { 105, "no service" }, - { 106, "volume offline" }, - { 107, "voline online" }, - { 108, "diskfull" }, - { 109, "diskquota exceeded" }, - { 110, "volume busy" }, - { 111, "volume moved" }, - { 112, "AFS IO error" }, + { 102, "no such vnode" }, + { 103, "no such volume" }, + { 104, "volume exist" }, + { 105, "no service" }, + { 106, "volume offline" }, + { 107, "voline online" }, + { 108, "diskfull" }, + { 109, "diskquota exceeded" }, + { 110, "volume busy" }, + { 111, "volume moved" }, + { 112, "AFS IO error" }, { 0xffffff9c, "restarting fileserver" }, /* -100, sic! */ { 0, NULL } }; @@ -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; \