diff options
Diffstat (limited to 'contrib/tcpdump/print-igmp.c')
-rw-r--r-- | contrib/tcpdump/print-igmp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/tcpdump/print-igmp.c b/contrib/tcpdump/print-igmp.c index 6522bc3..4087ee0 100644 --- a/contrib/tcpdump/print-igmp.c +++ b/contrib/tcpdump/print-igmp.c @@ -227,7 +227,11 @@ print_igmpv3_query(register const u_char *bp, register u_int len) } if (mrc != 100) { (void)printf(" [max resp time "); - relts_print(mrt); + if (mrt < 600) { + (void)printf("%.1fs", mrt * 0.1); + } else { + relts_print(mrt / 10); + } (void)printf("]"); } TCHECK2(bp[4], 4); |