Source-Changes-HG archive

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

[src/trunk]: src/sys/net fix evbsh3 build



details:   https://anonhg.NetBSD.org/src/rev/4a4852695d0d
branches:  trunk
changeset: 816429:4a4852695d0d
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Tue Jul 05 07:42:51 2016 +0000

description:
fix evbsh3 build

diffstat:

 sys/net/if.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 89aa846d1027 -r 4a4852695d0d sys/net/if.c
--- a/sys/net/if.c      Tue Jul 05 06:32:18 2016 +0000
+++ b/sys/net/if.c      Tue Jul 05 07:42:51 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if.c,v 1.352 2016/07/04 04:35:09 knakahara Exp $       */
+/*     $NetBSD: if.c,v 1.353 2016/07/05 07:42:51 knakahara Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.352 2016/07/04 04:35:09 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.353 2016/07/05 07:42:51 knakahara Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -262,7 +262,7 @@
                sysctl_net_pktq_setup(NULL, PF_INET6);
 #endif
 
-#ifndef IPSEC
+#if (defined(INET) || defined(INET6)) && !defined(IPSEC)
        encapinit();
 #endif
 



Home | Main Index | Thread Index | Old Index