aboutsummaryrefslogtreecommitdiffstats
path: root/src/eap_server/eap_server_ikev2.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-05-15 17:27:17 (GMT)
committerJouni Malinen <j@w1.fi>2018-05-15 17:55:17 (GMT)
commitd267bdf9bd3e2b6a00d47d2fa9601e0079e5b853 (patch)
tree942afeb52174bfc812296f3733edf68206311e7f /src/eap_server/eap_server_ikev2.c
parent79467d74fd095923843e73726468b0c3b312bc60 (diff)
downloadhostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.zip
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.gz
hostap-d267bdf9bd3e2b6a00d47d2fa9601e0079e5b853.tar.bz2
Silence new gcc warnings on switch statement fallthroughs
Reword the comments to make gcc 8.1 recognize these as designed cases and not trigger implicit-fallthrough warnings. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'src/eap_server/eap_server_ikev2.c')
-rw-r--r--src/eap_server/eap_server_ikev2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eap_server/eap_server_ikev2.c b/src/eap_server/eap_server_ikev2.c
index 1833419..32e6872 100644
--- a/src/eap_server/eap_server_ikev2.c
+++ b/src/eap_server/eap_server_ikev2.c
@@ -223,7 +223,7 @@ static struct wpabuf * eap_ikev2_buildReq(struct eap_sm *sm, void *priv, u8 id)
}
data->out_used = 0;
}
- /* pass through */
+ /* fall through */
case WAIT_FRAG_ACK:
return eap_ikev2_build_msg(data, id);
case FRAG_ACK: