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/3226f99ec2e8
branches: trunk
changeset: 814970:3226f99ec2e8
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 27f3c4038aa9 -r 3226f99ec2e8 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