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/2907ca1d64b0
branches: trunk
changeset: 346287:2907ca1d64b0
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 8b3c0dc7194d -r 2907ca1d64b0 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