X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=src%2Ffrontend%2Fsock.c;fp=src%2Ffrontend%2Fsock.c;h=cf187fcb42adc4bffc229f6c20ed208105c9bde5;hp=c2a805aa2510fbe168f4e706b52acfec804dabc7;hb=f57b23c4059c67c4c2c7ab1b06c02c000bcf7250;hpb=d584b92a70f7cdff88511c79bd48ba29d6170afd diff --git a/src/frontend/sock.c b/src/frontend/sock.c index c2a805a..cf187fc 100644 --- a/src/frontend/sock.c +++ b/src/frontend/sock.c @@ -434,7 +434,8 @@ get_type(const char *address) 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