aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-12 15:41:53 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2007-10-12 15:41:53 +0000
commit7fe431d4a8ca3ce867f13efc8614c67b435143cb (patch)
tree43589be77cc50ead9a80ce7eabcb26b938e6a1eb /plugins
parenta5c01b8f36ebd8159f3daed72f87052f69477ef3 (diff)
Fix hex-pane byte highlighting for the PDU message type item
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23163 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-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);