Dirk Bonne's fix to ICMP timestamp dissection.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Sep 1999 19:05:28 +0000 (19:05 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 23 Sep 1999 19:05:28 +0000 (19:05 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@713 f5534014-38df-0310-8fa8-9805f1628bb7

packet-ip.c

index b1914f9c9c7a088b72efce62f6f33a1f29b2a618..a155bcc49f4efdcc659b176c99f9cd8e0e654712 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-ip.c
  * Routines for IP and miscellaneous IP protocol packet disassembly
  *
- * $Id: packet-ip.c,v 1.47 1999/09/14 08:18:24 guy Exp $
+ * $Id: packet-ip.c,v 1.48 1999/09/23 19:05:28 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -1094,12 +1094,10 @@ dissect_icmp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) {
       case ICMP_TSTAMPREPLY:
        proto_tree_add_text(icmp_tree, offset +  8, 4, "Originate timestamp: %u",
          pntohl(&pd[offset +  8]));
-       proto_tree_add_text(icmp_tree, offset + 12, 4, "Originate timestamp: %u",
+       proto_tree_add_text(icmp_tree, offset + 12, 4, "Receive timestamp: %u",
          pntohl(&pd[offset + 12]));
-       proto_tree_add_text(icmp_tree, offset + 16, 4, "Receive timestamp: %u",
+       proto_tree_add_text(icmp_tree, offset + 16, 4, "Transmit timestamp: %u",
          pntohl(&pd[offset + 16]));
-       proto_tree_add_text(icmp_tree, offset + 20, 4, "Transmit timestamp: %u",
-         pntohl(&pd[offset + 20]));
        break;
 
     case ICMP_MASKREQ: