socket-proxy: allow localhost addresses

With this change, only manager_connect() in timesync.d uses AI_ADDRCONFIG. There
we are connecting to a remove server, so the flag is appropriate.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-09-15 14:52:47 +02:00
parent d0e5db44d9
commit 7e5f1d4b3f
1 changed files with 0 additions and 1 deletions

View File

@ -417,7 +417,6 @@ static int resolve_remote(Connection *c) {
static const struct addrinfo hints = {
.ai_family = AF_UNSPEC,
.ai_socktype = SOCK_STREAM,
.ai_flags = AI_ADDRCONFIG
};
const char *node, *service;