forked from osmocom/wireshark
Add missing break between AECP_COMMAND_SET_NAME and AECP_COMMAND_GET_NAME cases. Fixes Coverity CID 1430: MISSING BREAK.
svn path=/trunk/; revision=41699
This commit is contained in:
parent
075491702b
commit
66aa2c5b93
1 changed files with 1 additions and 0 deletions
|
@ -3435,6 +3435,7 @@ dissect_17221_aecp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *aecp_tree)
|
||||||
AECP_NAME_INDEX_OFFSET, 2, ENC_BIG_ENDIAN);
|
AECP_NAME_INDEX_OFFSET, 2, ENC_BIG_ENDIAN);
|
||||||
proto_tree_add_item(aecp_tree, hf_aecp_name, tvb,
|
proto_tree_add_item(aecp_tree, hf_aecp_name, tvb,
|
||||||
AECP_NAME_OFFSET, 64, ENC_ASCII|ENC_NA);
|
AECP_NAME_OFFSET, 64, ENC_ASCII|ENC_NA);
|
||||||
|
break;
|
||||||
case AECP_COMMAND_GET_NAME:
|
case AECP_COMMAND_GET_NAME:
|
||||||
proto_tree_add_item(aecp_tree, hf_aecp_descriptor_type, tvb,
|
proto_tree_add_item(aecp_tree, hf_aecp_descriptor_type, tvb,
|
||||||
AECP_DESCRIPTOR_TYPE_OFFSET, 2, ENC_BIG_ENDIAN);
|
AECP_DESCRIPTOR_TYPE_OFFSET, 2, ENC_BIG_ENDIAN);
|
||||||
|
|
Loading…
Reference in a new issue