Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add missing breaks (cosmetic change only)



details:   https://anonhg.NetBSD.org/src/rev/5373c8dcede2
branches:  trunk
changeset: 344828:5373c8dcede2
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Apr 23 12:15:38 2016 +0000

description:
Add missing breaks (cosmetic change only)

diffstat:

 sys/net/if_spppsubr.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (33 lines):

diff -r 274fa3a64a76 -r 5373c8dcede2 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Sat Apr 23 10:15:27 2016 +0000
+++ b/sys/net/if_spppsubr.c     Sat Apr 23 12:15:38 2016 +0000
@@ -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 @@
                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;



Home | Main Index | Thread Index | Old Index