From d989e00b0ec55d66f5c804fece73aed8b91ba18a Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 20 Nov 2006 19:39:19 +0000 Subject: [PATCH] Fix for bug 1235. Elapsed time is in 10ms units. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19937 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-dhcpv6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c index 5291e60913..a942cf5b68 100644 --- a/epan/dissectors/packet-dhcpv6.c +++ b/epan/dissectors/packet-dhcpv6.c @@ -523,8 +523,8 @@ dhcpv6_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree, break; } proto_tree_add_text(subtree, tvb, off, 2, - "elapsed-time: %d sec", - (guint32)tvb_get_ntohs(tvb, off)); + "elapsed-time: %u ms", + 10*(guint32)tvb_get_ntohs(tvb, off)); break; case OPTION_RELAY_MSG: if (optlen == 0) { -- 2.34.1