- (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't
have it.
This commit is contained in:
parent
340d1688e6
commit
9eba40cec9
|
@ -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
|
||||
|
|
2
misc.c
2
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",
|
||||
|
|
Loading…
Reference in New Issue