aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-31 22:16:25 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-31 22:16:25 +0000
commitb987cb3e5cfb923375c34d974ab950b8a376b4fc (patch)
tree9d2d382d696f6dc309a95de5b55789b78a7d1a9b /packet-mip.c
parentbb113a607b85fef1b8764d7025c4a558a92f1ce5 (diff)
Display unknown extension types in decimal, not hex (the RFCs give them
in decimal, and the "Extension Type" field is BASE_DEC). svn path=/trunk/; revision=4119
Diffstat (limited to 'packet-mip.c')
-rw-r--r--packet-mip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-mip.c b/packet-mip.c
index 0fbeb80b11..d4b3886698 100644
--- a/packet-mip.c
+++ b/packet-mip.c
@@ -2,7 +2,7 @@
* Routines for Mobile IP dissection
* Copyright 2000, Stefan Raab <sraab@cisco.com>
*
- * $Id: packet-mip.c,v 1.20 2001/10/31 07:58:43 guy Exp $
+ * $Id: packet-mip.c,v 1.21 2001/10/31 22:16:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -219,7 +219,7 @@ dissect_mip_extensions( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_text(exts_tree, tvb, offset, ext_len + hdrLen,
"Extension: %s",
val_to_str(ext_type, mip_ext_types,
- "Unknown Extension 0x%02x"));
+ "Unknown Extension %u"));
ext_tree = proto_item_add_subtree(ti, ett_mip_ext);
proto_tree_add_item(ext_tree, hf_mip_ext_type, tvb, offset, 1, ext_type);