diff --git a/common/os_calls.c b/common/os_calls.c index b8f6b633..357df6da 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -378,6 +378,7 @@ g_tcp_socket(void) { switch (errno) { + case EPROTONOSUPPORT: /* if IPv6 is supported, but don't have an IPv6 address */ case EAFNOSUPPORT: /* if IPv6 not supported, retry IPv4 */ LOG(LOG_LEVEL_INFO, "IPv6 not supported, falling back to IPv4"); rv = (int)socket(AF_INET, SOCK_STREAM, 0);