diff options
author | Gerald Combs <gerald@wireshark.org> | 1999-07-28 02:14:14 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1999-07-28 02:14:14 +0000 |
commit | a8e264ff8edd87eab49db08e95c948970560890e (patch) | |
tree | fed8c52531e8824b826854efebbb58ab6a3703ae /packet-icmpv6.c | |
parent | c7e8a7e855bc3dcd4393ca600b9af81012aa2f2f (diff) | |
download | wireshark-a8e264ff8edd87eab49db08e95c948970560890e.tar.gz wireshark-a8e264ff8edd87eab49db08e95c948970560890e.tar.bz2 wireshark-a8e264ff8edd87eab49db08e95c948970560890e.zip |
Added a fix from Takashi Tanaka to correct a byte order problem when printing
the MTU.
svn path=/trunk/; revision=391
Diffstat (limited to 'packet-icmpv6.c')
-rw-r--r-- | packet-icmpv6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-icmpv6.c b/packet-icmpv6.c index bd48810708..aa78a03749 100644 --- a/packet-icmpv6.c +++ b/packet-icmpv6.c @@ -1,7 +1,7 @@ /* packet-icmpv6.c * Routines for ICMPv6 packet disassembly * - * $Id: packet-icmpv6.c,v 1.4 1999/07/13 02:52:51 gram Exp $ + * $Id: packet-icmpv6.c,v 1.5 1999/07/28 02:14:14 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -181,7 +181,7 @@ again: struct nd_opt_mtu *pi = (struct nd_opt_mtu *)opt; proto_tree_add_text(icmp6opt_tree, offset + offsetof(struct nd_opt_mtu, nd_opt_mtu_mtu), 4, - "MTU: %d", pi->nd_opt_mtu_mtu); + "MTU: %d", pntohl(&pi->nd_opt_mtu_mtu)); break; } } |