summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c2
1 files changed, 2 insertions, 0 deletions
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)
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",