sd-bus: allow localhost addresses
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 15 Sep 2020 12:49:36 +0000 (14:49 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 20 Sep 2020 10:11:50 +0000 (12:11 +0200)
commit3e36cd9c96ba5ec7ca831fa0296ff9d157fbc59f
tree13918335003764ade616342884167699ec121488
parenta4bf35c2012e59aabb21e9866bb154badbb452b3
sd-bus: allow localhost addresses

By settings AI_ADDRCONFIG in hints we cannot for example resolve "localhost"
when the local machine only has a loopback interface. This seems like an
unnecessary restriction, drop it.

Inspired by https://bugzilla.redhat.com/show_bug.cgi?id=1839007.

(cherry picked from commit d0e5db44d9e1cf61ca75c8a86ffed19cc1b7fe5f)
(cherry picked from commit 5e8bf33de11c36e78f66cd5648a7643a417c561c)
TODO
src/libsystemd/sd-bus/sd-bus.c