GVCP: fix dissection of Stream Channel Packet Size register

Bug: 11442
Change-Id: I1c187bdf7ffd14b2a4f66d29883a4b112486bd35
Reviewed-on: https://code.wireshark.org/review/10014
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2015-08-13 16:16:03 +02:00
parent 738cf424d6
commit 2d5f2ae108
1 changed files with 4 additions and 4 deletions

View File

@ -1090,10 +1090,10 @@ static int dissect_register(guint32 addr, proto_tree *branch, tvbuff_t *tvb, gin
case GVCP_SC_PACKET_SIZE(1):
case GVCP_SC_PACKET_SIZE(2):
case GVCP_SC_PACKET_SIZE(3):
proto_tree_add_item(branch, hf_gvcp_sc_fire_test_packet, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_do_not_fragment, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_pixel_endianness, tvb, offset, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_packet_size, tvb, offset+2, 2, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_fire_test_packet, tvb, offset, 4, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_do_not_fragment, tvb, offset, 4, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_pixel_endianness, tvb, offset, 4, ENC_BIG_ENDIAN);
proto_tree_add_item(branch, hf_gvcp_sc_packet_size, tvb, offset, 4, ENC_BIG_ENDIAN);
break;
case GVCP_SC_PACKET_DELAY(0):