summaryrefslogtreecommitdiff
path: root/sys/net/if_spppsubr.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-02-14 00:53:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-02-14 00:53:49 +0000
commit60ae46e6e1480384e517df60d57e8da1680a7f9b (patch)
treef7fc0ca493af9bd455475951a0565f9ea7f4b4af /sys/net/if_spppsubr.c
parent6904b8f563e3d0b1dfdb40c340fc7a22a019f6b5 (diff)
Consistently spell FALLTHROUGH to appease lint.
ok kettenis@ cloder@ tom@ henning@
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r--sys/net/if_spppsubr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index e73d1d5a028..cc8f2d316f5 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.45 2007/02/11 20:29:22 miod Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.46 2007/02/14 00:53:48 jsg Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -973,7 +973,7 @@ sppp_ioctl(struct ifnet *ifp, u_long cmd, void *data)
case SIOCSIFADDR:
if_up(ifp);
- /* fall through... */
+ /* FALLTHROUGH */
case SIOCSIFFLAGS:
going_up = (ifp->if_flags & IFF_UP) &&
@@ -1438,7 +1438,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
case STATE_ACK_RCVD:
case STATE_ACK_SENT:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_CLOSED:
case STATE_STOPPED:
case STATE_CLOSING:
@@ -2042,7 +2042,7 @@ sppp_lcp_RCR(struct sppp *sp, struct lcp_header *h, int len)
switch (*p) {
case LCP_OPT_MAGIC:
/* Magic number. */
- /* fall through, both are same length */
+ /* FALLTHROUGH, both are same length */
case LCP_OPT_ASYNC_MAP:
/* Async control character map. */
if (len >= 6 && p[1] == 6)
@@ -3321,7 +3321,7 @@ sppp_chap_TO(void *cookie)
case STATE_OPENED:
/* TO* event */
sp->rst_counter[IDX_CHAP] = sp->lcp.max_configure;
- /* fall through */
+ /* FALLTHROUGH */
case STATE_REQ_SENT:
chap.scr(sp);
/* sppp_cp_change_state() will restart the timer */