Module Name: src Committed By: knakahara Date: Tue Jul 5 07:42:52 UTC 2016
Modified Files: src/sys/net: if.c Log Message: fix evbsh3 build To generate a diff of this commit: cvs rdiff -u -r1.352 -r1.353 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.c diff -u src/sys/net/if.c:1.352 src/sys/net/if.c:1.353 --- src/sys/net/if.c:1.352 Mon Jul 4 04:35:09 2016 +++ src/sys/net/if.c Tue Jul 5 07:42:51 2016 @@ -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 @@ ifinit(void) sysctl_net_pktq_setup(NULL, PF_INET6); #endif -#ifndef IPSEC +#if (defined(INET) || defined(INET6)) && !defined(IPSEC) encapinit(); #endif