diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-23 19:05:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-23 19:05:28 +0000 |
commit | e22e07c397e49668b8e802dd118961c8385468a7 (patch) | |
tree | 561592a83013795ba03732d636c22e496e5adfe0 /packet-ip.c | |
parent | f0e861465cc9b5fac4b302e5e3bc4fe34cf9e4c4 (diff) |
Dirk Bonne's fix to ICMP timestamp dissection.
svn path=/trunk/; revision=713
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/packet-ip.c b/packet-ip.c index b1914f9c9c..a155bcc49f 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -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: |