diff --git a/src/frontend/sock.c b/src/frontend/sock.c
index c2a805aa2510fbe168f4e706b52acfec804dabc7..cf187fcb42adc4bffc229f6c20ed208105c9bde5 100644 (file)
--- a/src/frontend/sock.c
+++ b/src/frontend/sock.c
return impl->type;
}
}
- return -1;
+ /* don't report an error, this could be an IPv6 address */
+ return listener_impls[0].type;
} /* get_type */
static void