summaryrefslogtreecommitdiffstats
path: root/src/socket-proxy
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-15 14:52:47 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-09-15 16:45:39 +0200
commit7e5f1d4b3fb02075762a55063edf9e510142e4c9 (patch)
tree8ea5e8148d87a6caa65558e017a44bb01669925c /src/socket-proxy
parentsd-bus: allow localhost addresses (diff)
downloadsystemd-7e5f1d4b3fb02075762a55063edf9e510142e4c9.tar.xz
systemd-7e5f1d4b3fb02075762a55063edf9e510142e4c9.zip
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.
Diffstat (limited to 'src/socket-proxy')
-rw-r--r--src/socket-proxy/socket-proxyd.c1
1 files changed, 0 insertions, 1 deletions
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;