diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | misc.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20091209 | ||
2 | - (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't | ||
3 | have it. | ||
4 | |||
1 | 20091208 | 5 | 20091208 |
2 | - (dtucker) OpenBSD CVS Sync | 6 | - (dtucker) OpenBSD CVS Sync |
3 | - andreas@cvs.openbsd.org 2009/10/24 11:11:58 | 7 | - andreas@cvs.openbsd.org 2009/10/24 11:11:58 |
@@ -164,9 +164,11 @@ socket_rdomain(int domain, int type, int protocol, int rdomain) | |||
164 | return (sock); | 164 | return (sock); |
165 | 165 | ||
166 | switch (domain) { | 166 | switch (domain) { |
167 | #ifdef IPPROTO_IPV6 | ||
167 | case AF_INET6: | 168 | case AF_INET6: |
168 | ipproto = IPPROTO_IPV6; | 169 | ipproto = IPPROTO_IPV6; |
169 | /* FALLTHROUGH */ | 170 | /* FALLTHROUGH */ |
171 | #endif | ||
170 | case AF_INET: | 172 | case AF_INET: |
171 | #ifdef USE_ROUTINGDOMAIN | 173 | #ifdef USE_ROUTINGDOMAIN |
172 | debug2("socket %d af %d setting rdomain %d", | 174 | debug2("socket %d af %d setting rdomain %d", |