Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Cosmetic: fix indentation, change some spaces t...
details: https://anonhg.NetBSD.org/src/rev/cd8a73f82047
branches: trunk
changeset: 749490:cd8a73f82047
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Dec 01 01:01:34 2009 +0000
description:
Cosmetic: fix indentation, change some spaces to tabs.
diffstat:
sys/netipsec/ipsec_output.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (54 lines):
diff -r 6b7367ae97cd -r cd8a73f82047 sys/netipsec/ipsec_output.c
--- a/sys/netipsec/ipsec_output.c Tue Dec 01 00:52:13 2009 +0000
+++ b/sys/netipsec/ipsec_output.c Tue Dec 01 01:01:34 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipsec_output.c,v 1.28 2008/04/28 17:40:11 degroote Exp $ */
+/* $NetBSD: ipsec_output.c,v 1.29 2009/12/01 01:01:34 dyoung Exp $ */
/*-
* Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.28 2008/04/28 17:40:11 degroote Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipsec_output.c,v 1.29 2009/12/01 01:01:34 dyoung Exp $");
/*
* IPsec output processing.
@@ -211,7 +211,7 @@
udp->uh_dport = key_portfromsaddr(&saidx->dst);
udp->uh_sum = 0;
- udp->uh_ulen = htons(m->m_pkthdr.len - (ip->ip_hl << 2));
+ udp->uh_ulen = htons(m->m_pkthdr.len - (ip->ip_hl << 2));
}
#endif /* IPSEC_NAT_T */
@@ -263,21 +263,21 @@
*/
if (isr->next) {
IPSEC_STATINC(IPSEC_STAT_OUT_BUNDLESA);
- switch ( saidx->dst.sa.sa_family ) {
+ switch ( saidx->dst.sa.sa_family ) {
#ifdef INET
- case AF_INET:
+ case AF_INET:
return ipsec4_process_packet(m, isr->next, 0,0);
#endif /* INET */
#ifdef INET6
case AF_INET6:
- return ipsec6_process_packet(m,isr->next);
+ return ipsec6_process_packet(m,isr->next);
#endif /* INET6 */
default :
DPRINTF(("ipsec_process_done: unknown protocol family %u\n",
- saidx->dst.sa.sa_family));
+ saidx->dst.sa.sa_family));
error = ENXIO;
goto bad;
- }
+ }
}
/*
Home |
Main Index |
Thread Index |
Old Index