summaryrefslogtreecommitdiff
path: root/gatchat/ppp_ipv6cp.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-11 10:44:15 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-07-11 10:44:15 -0700
commit3472aa67a633e5a9b31b45bd8f5606babeda502f (patch)
tree951055e643495efa69c8a1b77c48d9a9f2641184 /gatchat/ppp_ipv6cp.c
parent9cdcf729949bc66e3ec46d1a87fa878ecf183fa4 (diff)
downloadofono-3472aa67a633e5a9b31b45bd8f5606babeda502f.tar.gz
gatchat: Reword the fall through cases to avoid compiler warnings
Diffstat (limited to 'gatchat/ppp_ipv6cp.c')
-rw-r--r--gatchat/ppp_ipv6cp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gatchat/ppp_ipv6cp.c b/gatchat/ppp_ipv6cp.c
index ecfd5702..94feaccd 100644
--- a/gatchat/ppp_ipv6cp.c
+++ b/gatchat/ppp_ipv6cp.c
@@ -189,9 +189,12 @@ static enum rcr_result ipv6cp_client_rcr(struct ipv6cp_data *ipv6cp,
if (ipv6cp->peer_addr != 0)
break;
+
/*
- * Fall through, reject zero Interface ID
+ * Reject zero Interface ID
*/
+
+ /* fall through */
default:
if (options == NULL) {
guint16 max_len = ntohs(packet->length) - 4;