aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ciscosm
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2007-10-12 15:41:53 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2007-10-12 15:41:53 +0000
commitbe55140415522ca9d3c3f2192156e8f96a4b9278 (patch)
tree43589be77cc50ead9a80ce7eabcb26b938e6a1eb /plugins/ciscosm
parentfaffc473d19f67f40c00b69dd514528cf0e651db (diff)
Fix hex-pane byte highlighting for the PDU message type item
svn path=/trunk/; revision=23163
Diffstat (limited to 'plugins/ciscosm')
-rw-r--r--plugins/ciscosm/packet-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ciscosm/packet-sm.c b/plugins/ciscosm/packet-sm.c
index 9f600e41c4..45154ca8e7 100644
--- a/plugins/ciscosm/packet-sm.c
+++ b/plugins/ciscosm/packet-sm.c
@@ -159,7 +159,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_item(sm_tree, hf_sm_protocol, tvb, 4, 2, FALSE);
ti = proto_tree_add_item(sm_tree, hf_sm_msg_id, tvb, 6, 2, FALSE);
msg_type = tvb_get_ntohs(tvb,8);
- ti = proto_tree_add_uint_format(sm_tree, hf_sm_msg_type, tvb, 0, 4, msg_type,
+ ti = proto_tree_add_uint_format(sm_tree, hf_sm_msg_type, tvb, 8, 2, msg_type,
"Message type: %s (0x%0x)", val_to_str(msg_type, sm_pdu_type_value, "reserved"), msg_type);
ti = proto_tree_add_item(sm_tree, hf_sm_channel, tvb, 10, 2, FALSE);
ti = proto_tree_add_item(sm_tree, hf_sm_bearer, tvb, 12, 2, FALSE);