diff options
author | pjd <pjd@FreeBSD.org> | 2011-05-20 11:16:25 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2011-05-20 11:16:25 +0000 |
commit | 87ff33b2c97301761576707aec122a6e7c984dbf (patch) | |
tree | 83d2668262b3ac7a3d1c7bcb6abfa8ef63200ef8 /sbin | |
parent | 65d1a6f181cbd79b0bc49fd90460671cb28d2091 (diff) | |
download | FreeBSD-src-87ff33b2c97301761576707aec122a6e7c984dbf.zip FreeBSD-src-87ff33b2c97301761576707aec122a6e7c984dbf.tar.gz |
If no listen address is specified, bind by default to:
tcp4://0.0.0.0:8457
tcp6://[::]:8457
MFC after: 3 weeks
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/parse.y | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/hastd/parse.y b/sbin/hastd/parse.y index 7a725fe..6e8351d 100644 --- a/sbin/hastd/parse.y +++ b/sbin/hastd/parse.y @@ -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); |