diff options
author | Xin LI <delphij@FreeBSD.org> | 2015-04-08 17:52:54 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2015-04-08 17:52:54 +0000 |
commit | 7ba7a5de74780dee4ec54bace1ec36427be1d8b8 (patch) | |
tree | a5a1890b0b884a1d303e90c4130c3b731772abd5 /lib/isc/unix/net.c | |
parent | a2bc50f814b6966b412ba90221460066a8b31951 (diff) |
Notes
Diffstat (limited to 'lib/isc/unix/net.c')
-rw-r--r-- | lib/isc/unix/net.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/isc/unix/net.c b/lib/isc/unix/net.c index 1fedbc438ded..e4de0489ec11 100644 --- a/lib/isc/unix/net.c +++ b/lib/isc/unix/net.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC") + * Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2003 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any @@ -317,6 +317,7 @@ initialize_ipv6only(void) { #endif /* WANT_IPV6 */ #ifdef ISC_PLATFORM_HAVEIN6PKTINFO +#ifdef WANT_IPV6 static void try_ipv6pktinfo(void) { int s, on; @@ -368,6 +369,7 @@ initialize_ipv6pktinfo(void) { RUNTIME_CHECK(isc_once_do(&once_ipv6pktinfo, try_ipv6pktinfo) == ISC_R_SUCCESS); } +#endif /* WANT_IPV6 */ #endif /* ISC_PLATFORM_HAVEIN6PKTINFO */ #endif /* ISC_PLATFORM_HAVEIPV6 */ |