From: Wilfried Goesgens Date: Sat, 16 Feb 2013 13:09:01 +0000 (+0100) Subject: When trying to bind default broadcast (ipv6) fails, retry with broadcast ipv4. -... X-Git-Tag: v8.16~11 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=644b918f4bdf536f98ff6138e34cdf7332e7c4ea When trying to bind default broadcast (ipv6) fails, retry with broadcast ipv4. - set trigger. --- diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index e163c9b57..62898c940 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -529,6 +529,7 @@ int webcit_tcp_server(char *ip_addr, int port_number, int queue_len) || (IsEmptyStr(ip_addr)) || (!strcmp(ip_addr, "*")) ) { + IsDefault = 1; ip_version = 6; sin6.sin6_addr = in6addr_any; }