Date: Fri, 20 May 2011 11:16:25 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222120 - head/sbin/hastd Message-ID: <201105201116.p4KBGPCR081729@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pjd Date: Fri May 20 11:16:25 2011 New Revision: 222120 URL: http://svn.freebsd.org/changeset/base/222120 Log: If no listen address is specified, bind by default to: tcp4://0.0.0.0:8457 tcp6://[::]:8457 MFC after: 3 weeks Modified: head/sbin/hastd/parse.y Modified: head/sbin/hastd/parse.y ============================================================================== --- head/sbin/hastd/parse.y Fri May 20 11:15:27 2011 (r222119) +++ head/sbin/hastd/parse.y Fri May 20 11:16:25 2011 (r222120) @@ -257,7 +257,6 @@ yy_config_parse(const char *config, bool 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 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105201116.p4KBGPCR081729>