projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When trying to bind default broadcast (ipv6) fails, retry with broadcast ipv4. -...
[citadel.git]
/
webcit
/
tcp_sockets.c
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index e163c9b57f4cc7d8a7bdf4a11a239f22db38c90f..62898c9402a87894b5190a3f7683005801df4daf 100644
(file)
--- 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;
}