Fix for bug 1235. Elapsed time is in 10ms units.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Nov 2006 19:39:19 +0000 (19:39 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 20 Nov 2006 19:39:19 +0000 (19:39 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19937 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-dhcpv6.c

index 5291e6091377ff5a0ab4510cfa0e041001ea8560..a942cf5b68c9578b9c5320939059ac71cfe3a59e 100644 (file)
@@ -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) {