Commit f3f22040 authored by Brian Wellington's avatar Brian Wellington
Browse files

The ipv6 probe fails if IPv6 is disabled.

parent 4108eed5
......@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: net.c,v 1.12 2000/08/01 01:31:24 tale Exp $ */
/* $Id: net.c,v 1.13 2000/09/15 20:52:27 bwelling Exp $ */
#include <config.h>
......@@ -68,12 +68,14 @@ static void
initialize_action(void) {
ipv4_result = try_proto(PF_INET);
#ifdef ISC_PLATFORM_HAVEIPV6
#ifdef WANT_IPV6
#ifdef ISC_PLATFORM_HAVEIN6PKTINFO
ipv6_result = try_proto(PF_INET6);
#else
ipv6_result = 0;
#endif
#endif
#endif
}
static void
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment