UDPCP: Set length of Packet Transfer Options subfree

This commit is contained in:
Martin Mathieson 2021-08-20 17:57:58 +01:00
parent e20e6e30d7
commit 4fc200ce51
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ dissect_udpcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U
/***************************/
/* Packet Transfer Options */
proto_item *packet_transfer_options_ti =
proto_tree_add_string_format(udpcp_tree, hf_udpcp_packet_transfer_options, tvb, offset, 0,
proto_tree_add_string_format(udpcp_tree, hf_udpcp_packet_transfer_options, tvb, offset, 2,
"", "Packet Transfer Options (");
proto_tree *packet_transfer_options_tree =
proto_item_add_subtree(packet_transfer_options_ti, ett_udpcp_packet_transfer_options);