Re: [libvirt] [PATCH 01/11] tests: Don't test octal localhost IP in sockettest on macOS

2019-08-21 Thread Daniel P . Berrangé
On Wed, Aug 21, 2019 at 07:13:13PM +0300, Roman Bolshakov wrote: > getaddrinfo on macOS doesn't interpret octal IPv4 addresses. Only > inet_aton can be used for that. Therefore, from macOS standpoint > "0177.0.0.01" is not the same as "127.0.0.1". > > The issue was also discovered by python and

[libvirt] [PATCH 01/11] tests: Don't test octal localhost IP in sockettest on macOS

2019-08-21 Thread Roman Bolshakov
getaddrinfo on macOS doesn't interpret octal IPv4 addresses. Only inet_aton can be used for that. Therefore, from macOS standpoint "0177.0.0.01" is not the same as "127.0.0.1". The issue was also discovered by python and dotnet core: https://bugs.python.org/issue27612