From 1a77023777e97d34726d7b391c0403f2a21ab6c0 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Sun, 10 Mar 2019 07:21:55 +0800 Subject: [PATCH] Fix #2314 --- src/netutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/netutils.c b/src/netutils.c index f89e9715..6bc14c72 100644 --- a/src/netutils.c +++ b/src/netutils.c @@ -295,6 +295,8 @@ is_ipv6only(ss_addr_t *servers, size_t server_num) if (ip.version != 6) { return 0; } + } else { + return 0; } } return 1;