aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bgp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-03-05 16:13:45 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-06 01:50:38 +0000
commit43f2177d7c4b50a5bbc66b41f8ae620f94dfb6de (patch)
tree6dd20bb452768ed59e4e9eed68e6a4cafefe6e30 /epan/dissectors/packet-bgp.c
parenta9c2a9782340fafb3fdc8f4c0f056d797f7f191f (diff)
BGP: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: I7cb6f73efb1e37eba977dc6912041d5969989696 Reviewed-on: https://code.wireshark.org/review/20399 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-bgp.c')
-rw-r--r--epan/dissectors/packet-bgp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 952ff5605b..b3afc244c2 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -6924,6 +6924,7 @@ dissect_bgp_path_attr(proto_tree *subtree, tvbuff_t *tvb, guint16 path_attr_len,
plurality(tlen, "", "s"));
break;
}
+ /* FALL THROUGH */
case BGPTYPE_AS4_AGGREGATOR:
if (bgpa_type == BGPTYPE_AS4_AGGREGATOR && tlen != 8)
proto_tree_add_expert_format(subtree2, pinfo, &ei_bgp_length_invalid, tvb, o + i + aoff, tlen,