Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Fix indentations (NFC)
details: https://anonhg.NetBSD.org/src/rev/9250c43e32fd
branches: trunk
changeset: 353068:9250c43e32fd
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed Apr 19 03:43:34 2017 +0000
description:
Fix indentations (NFC)
diffstat:
sys/netipsec/ipsec.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diffs (49 lines):
diff -r 10c0f9208386 -r 9250c43e32fd sys/netipsec/ipsec.c
--- a/sys/netipsec/ipsec.c Wed Apr 19 03:42:11 2017 +0000
+++ b/sys/netipsec/ipsec.c Wed Apr 19 03:43:34 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec.c,v 1.77 2017/04/19 03:42:11 ozaki-r Exp $ */
+/* $NetBSD: ipsec.c,v 1.78 2017/04/19 03:43:34 ozaki-r Exp $ */
/* $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/netipsec/ipsec.c,v 1.2.2.2 2003/07/01 01:38:13 sam Exp $ */
/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.77 2017/04/19 03:42:11 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec.c,v 1.78 2017/04/19 03:43:34 ozaki-r Exp $");
/*
* IPsec controller part.
@@ -380,20 +380,20 @@
KEYDEBUG_PRINTF(KEYDEBUG_IPSEC_STAMP, "DP from %s:%u\n", where, tag);
- switch(af) {
- case AF_INET:
- sp = &ip4_def_policy;
- break;
+ switch(af) {
+ case AF_INET:
+ sp = &ip4_def_policy;
+ break;
#ifdef INET6
- case AF_INET6:
- sp = &ip6_def_policy;
- break;
+ case AF_INET6:
+ sp = &ip6_def_policy;
+ break;
#endif
- default:
+ default:
KEYDEBUG_PRINTF(KEYDEBUG_IPSEC_STAMP,
"unexpected protocol family %u\n", af);
- return NULL;
- }
+ return NULL;
+ }
if (sp->policy != IPSEC_POLICY_DISCARD &&
sp->policy != IPSEC_POLICY_NONE) {
Home |
Main Index |
Thread Index |
Old Index