diff options
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) | |||
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", |