If no listen address is specified, bind by default to:

tcp4://0.0.0.0:8457
	tcp6://[::]:8457

MFC after:	3 weeks
This commit is contained in:
Pawel Jakub Dawidek 2011-05-20 11:16:25 +00:00
parent a87399ba7f
commit 89bad89a59

View File

@ -257,7 +257,6 @@ yy_config_parse(const char *config, bool exitonerror)
pjdlog_debug(1,
"No IPv4 support in the kernel, not listening on IPv4 address.");
}
#ifdef notyet
if (family_supported(AF_INET6)) {
lst = calloc(1, sizeof(*lst));
if (lst == NULL) {
@ -274,7 +273,6 @@ yy_config_parse(const char *config, bool exitonerror)
pjdlog_debug(1,
"No IPv6 support in the kernel, not listening on IPv6 address.");
}
#endif
if (TAILQ_EMPTY(&lconfig->hc_listen)) {
pjdlog_error("No address to listen on.");
yy_config_free(lconfig);