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);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to