client: connect to Unix domain socket by default

The default value of the -h option is now
/var/run/chrony/chronyd.sock,127.0.0.1,::1.
This commit is contained in:
Miroslav Lichvar
2015-08-19 18:16:22 +02:00
parent eb5a412bed
commit fbe65f2c71
2 changed files with 3 additions and 2 deletions

View File

@@ -2920,7 +2920,7 @@ main(int argc, char **argv)
DNS_SetAddressFamily(family);
if (!hostnames) {
hostnames = "127.0.0.1,::1";
hostnames = DEFAULT_COMMAND_SOCKET",127.0.0.1,::1";
#ifdef FEAT_ASYNCDNS
initial_timeout /= 10;
#endif