Module Name: src Committed By: martin Date: Sat Apr 23 12:15:38 UTC 2016
Modified Files: src/sys/net: if_spppsubr.c Log Message: Add missing breaks (cosmetic change only) To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if_spppsubr.c diff -u src/sys/net/if_spppsubr.c:1.136 src/sys/net/if_spppsubr.c:1.137 --- src/sys/net/if_spppsubr.c:1.136 Wed Apr 20 09:01:04 2016 +++ src/sys/net/if_spppsubr.c Sat Apr 23 12:15:38 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: if_spppsubr.c,v 1.136 2016/04/20 09:01:04 knakahara Exp $ */ +/* $NetBSD: if_spppsubr.c,v 1.137 2016/04/23 12:15:38 martin Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.136 2016/04/20 09:01:04 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.137 2016/04/23 12:15:38 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -5379,12 +5379,14 @@ sppp_auth_type_name(u_short proto, u_cha case CHAP_SUCCESS: return "success"; case CHAP_FAILURE: return "failure"; } + break; case PPP_PAP: switch (type) { case PAP_REQ: return "req"; case PAP_ACK: return "ack"; case PAP_NAK: return "nak"; } + break; } snprintf(buf, sizeof(buf), "0x%x", type); return buf;