Assuming transport_protocol is a guint8.

svn path=/trunk/; revision=45042
This commit is contained in:
Anders Broman 2012-09-21 11:54:30 +00:00
parent ff1a7d93bf
commit 467976f37f
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ dissect_parameter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *top_tree, proto
break;
case 0x09: /* TransportProtocol */
proto_tree_add_item(ptree, hf_btsap_parameter_transport_protocol, tvb, offset, 1, ENC_BIG_ENDIAN);
transport_protocol = tvb_get_ntohs(tvb, offset);
transport_protocol = tvb_get_guint8(tvb, offset);
proto_item_append_text(parameter_item, "%u", transport_protocol);
col_append_fstr(pinfo->cinfo, COL_INFO, ": %u", transport_protocol);
length = 1;