diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-09 21:57:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-09 21:57:35 +0000 |
commit | d4f633378ab8ff19b0b776275912f1f350c70ab8 (patch) | |
tree | d0efd8a45b8d60b988bddf5c37283775fc092e74 /packet-icmpv6.c | |
parent | a3863a1dfe474486a327ffbeaad46a8ec06ff9d2 (diff) |
Fix a "proto_tree_add_text()" call.
svn path=/trunk/; revision=2593
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 34f31827e4..f86558537e 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.28 2000/11/09 16:39:59 itojun Exp $ + * $Id: packet-icmpv6.c,v 1.29 2000/11/09 21:57:35 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -614,7 +614,7 @@ dissect_rrenum(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) opt_tree = proto_item_add_subtree(tf, ett_icmpv6opt); proto_tree_add_text(opt_tree, NullTVB, off + offsetof(struct rr_pco_match, rpm_code), - sizeof(match->rpm_code), "OpCode: %s", + sizeof(match->rpm_code), "OpCode: %s (%u)", val_to_str(match->rpm_code, names_rrenum_matchcode, "Unknown"), match->rpm_code); proto_tree_add_text(opt_tree, NullTVB, |