From 7e5f1d4b3fb02075762a55063edf9e510142e4c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 15 Sep 2020 14:52:47 +0200 Subject: [PATCH] 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. --- src/socket-proxy/socket-proxyd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c index 50f5b9c9c5..6042014069 100644 --- a/src/socket-proxy/socket-proxyd.c +++ b/src/socket-proxy/socket-proxyd.c @@ -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;