summaryrefslogtreecommitdiff
path: root/wiretap/nettl.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-02-27 21:10:33 +0100
committerMichael Mann <mmann78@netscape.net>2017-02-28 00:22:17 +0000
commit841531bc85629023c9f3fb73d8af609e3cd32109 (patch)
treeb5f4127f7f3bc417ab38e1d5ccf7204aec2486b4 /wiretap/nettl.c
parent59b672e5907d272ea5bd5ef571b03e004d07705a (diff)
downloadwireshark-841531bc85629023c9f3fb73d8af609e3cd32109.tar.gz
wiretap (nettl/pppdump): fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: I8c339e7484d410460d499dd2923641630b482ebe Reviewed-on: https://code.wireshark.org/review/20303 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wiretap/nettl.c')
-rw-r--r--wiretap/nettl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/nettl.c b/wiretap/nettl.c
index 22cb007c6e..371beb4c01 100644
--- a/wiretap/nettl.c
+++ b/wiretap/nettl.c
@@ -719,6 +719,7 @@ static gboolean nettl_dump(wtap_dumper *wdh,
rec_hdr.caplen = g_htonl(phdr->caplen + 3);
rec_hdr.length = g_htonl(phdr->len + 3);
/* fall through and fill the rest of the fields */
+ /* FALL THROUGH */
case WTAP_ENCAP_NETTL_ETHERNET:
case WTAP_ENCAP_NETTL_TOKEN_RING:
case WTAP_ENCAP_NETTL_RAW_IP: