Re: [libvirt] [PATCH] tests: don't assume "localhost" only resolves to 1/2 IPs

2019-07-15 Thread Michal Privoznik
On 7/15/19 5:58 PM, Daniel P. Berrangé wrote: On Debian derived distros "localhost" can resolve to the normal "127.0.0.1" and "::1", but it can also resolve to "127.0.1.1" Rewrite the code so that it doesn't assume a fixed number of IPs. Signed-off-by: Daniel P. Berrangé --- tests/virsystemd

[libvirt] [PATCH] tests: don't assume "localhost" only resolves to 1/2 IPs

2019-07-15 Thread Daniel P . Berrangé
On Debian derived distros "localhost" can resolve to the normal "127.0.0.1" and "::1", but it can also resolve to "127.0.1.1" Rewrite the code so that it doesn't assume a fixed number of IPs. Signed-off-by: Daniel P. Berrangé --- tests/virsystemdtest.c | 17 ++--- 1 file changed, 10