diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-01-09 14:44:24 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-01-09 15:28:51 +0000 |
commit | d769b7cb7ae203b784a4f440d93624bb5c6bae81 (patch) | |
tree | 1daa2507d66144fda1e6d0e16949b6416571b1e9 /epan/dissectors/packet-lustre.c | |
parent | 3f2f16411fb2f9582294227594549fb8fdd9a227 (diff) |
lustre: add missing breaks (fix gcc-7 compilation).
Change-Id: I00f0901853818df5f6bf67d7d75720067d66ee50
Reviewed-on: https://code.wireshark.org/review/25225
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Nathaniel Clark <nathaniel.clark@misrule.us>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lustre.c')
-rw-r--r-- | epan/dissectors/packet-lustre.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-lustre.c b/epan/dissectors/packet-lustre.c index 2e99fc986d..d6bd727816 100644 --- a/epan/dissectors/packet-lustre.c +++ b/epan/dissectors/packet-lustre.c @@ -5676,6 +5676,7 @@ process_opcode_mds(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree * t } if (pb_type == PTL_RPC_MSG_REPLY) offset = display_buffer_data(tvb, pinfo, offset, tree, LUSTRE_REC_OFF, NULL); + break; default: expert_add_info_format(pinfo, tree, &ei_lustre_badopc, "UNKNOWN MDS OPCODE: %d (type: %d)", trans->opcode, pb_type); break; @@ -5843,6 +5844,7 @@ process_opcode_ldlm(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree * /* REQ: [KEY][VAL] */ offset = display_buffer_string(tvb, pinfo, tree, offset, hf_lustre_ldlm_key, LUSTRE_REC_OFF); offset = display_buffer_string(tvb, pinfo, tree, offset, hf_lustre_ldlm_val, LUSTRE_REC_OFF+1); + break; default: expert_add_info_format(pinfo, tree, &ei_lustre_badopc, "UNKNOWN LDLM OPCODE: %d (type: %d)", trans->opcode, pb_type); break; |