[libvirt] [PATCH] Replace use of 'in_addr_t' with 'struct in_addr'

Jiri Denemark jdenemar at redhat.com
Fri Jun 28 11:57:59 UTC 2013


On Fri, Jun 28, 2013 at 12:45:14 +0100, Daniel Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The 'in_addr_t' typedef is not present in Mingw64 headers.
> Instead we can use the more portable 'struct in_addr' and
> then access its 's_addr' field.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/util/virsocketaddr.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK

/me slaps himself for suggesting in_addr_t and IN6_IS_ADDR_UNSPECIFIED
:-)

Jirka




More information about the libvir-list mailing list