Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Remove unnecessary ifdef IPSEC



details:   https://anonhg.NetBSD.org/src/rev/bff6523cc453
branches:  trunk
changeset: 807061:bff6523cc453
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Fri Mar 27 07:47:10 2015 +0000

description:
Remove unnecessary ifdef IPSEC

diffstat:

 sys/netipsec/xform_ipip.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 1e5804e3ff9b -r bff6523cc453 sys/netipsec/xform_ipip.c
--- a/sys/netipsec/xform_ipip.c Fri Mar 27 07:28:56 2015 +0000
+++ b/sys/netipsec/xform_ipip.c Fri Mar 27 07:47:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xform_ipip.c,v 1.31 2014/06/05 23:48:17 rmind Exp $    */
+/*     $NetBSD: xform_ipip.c,v 1.32 2015/03/27 07:47:10 ozaki-r Exp $  */
 /*     $FreeBSD: src/sys/netipsec/xform_ipip.c,v 1.3.2.1 2003/01/24 05:11:36 sam Exp $ */
 /*     $OpenBSD: ip_ipip.c,v 1.25 2002/06/10 18:04:55 itojun Exp $ */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_ipip.c,v 1.31 2014/06/05 23:48:17 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_ipip.c,v 1.32 2015/03/27 07:47:10 ozaki-r Exp $");
 
 /*
  * IP-inside-IP processing
@@ -646,7 +646,6 @@
        return (error);
 }
 
-#ifdef IPSEC
 static int
 ipe4_init(struct secasvar *sav, const struct xformsw *xsp)
 {
@@ -725,8 +724,6 @@
 };
 #endif
 
-#endif /* IPSEC */
-
 /*
  * Check the encapsulated packet to see if we want it
  */



Home | Main Index | Thread Index | Old Index