diff options
author | Darren Tucker <dtucker@zip.com.au> | 2010-01-09 09:02:07 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2010-01-09 09:02:07 +1100 |
commit | 9eba40cec9de097b41f3f1c84799476f14260920 (patch) | |
tree | 27f6c5d87ddcf361211d18448116f9e6c2c7ab53 /misc.c | |
parent | 340d1688e658e85a3c45270bc3fca4e6d1aee9b1 (diff) | |
download | openssh-git-9eba40cec9de097b41f3f1c84799476f14260920.tar.gz |
- (dtucker) Wrap use of IPPROTO_IPV6 in an ifdef for platforms that don't
have it.
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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", |