From 9eba40cec9de097b41f3f1c84799476f14260920 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sat, 9 Jan 2010 09:02:07 +1100 Subject: [PATCH] - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't have it. --- ChangeLog | 4 ++++ misc.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b1350dc35..79491f54a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +20091209 + - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't + have it. + 20091208 - (dtucker) OpenBSD CVS Sync - andreas@cvs.openbsd.org 2009/10/24 11:11:58 diff --git a/misc.c b/misc.c index f62f8efc6..b260d89fe 100644 --- a/misc.c +++ b/misc.c @@ -164,9 +164,11 @@ socket_rdomain(int domain, int type, int protocol, int rdomain) return (sock); switch (domain) { +#ifdef IPPROTO_IPV6 case AF_INET6: ipproto = IPPROTO_IPV6; /* FALLTHROUGH */ +#endif case AF_INET: #ifdef USE_ROUTINGDOMAIN debug2("socket %d af %d setting rdomain %d",