When trying to bind default broadcast (ipv6) fails, retry with broadcast ipv4. -...
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 16 Feb 2013 13:09:01 +0000 (14:09 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Mon, 25 Feb 2013 19:03:37 +0000 (20:03 +0100)
webcit/tcp_sockets.c

index e163c9b57f4cc7d8a7bdf4a11a239f22db38c90f..62898c9402a87894b5190a3f7683005801df4daf 100644 (file)
@@ -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;
        }