qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Patch for qemu-0.9.1/slirp/misc.c:getouraddr


From: Blue Swirl
Subject: Re: [Qemu-devel] Patch for qemu-0.9.1/slirp/misc.c:getouraddr
Date: Sun, 9 Nov 2008 13:43:07 +0200

On 11/7/08, Wan-Teh Chang <address@hidden> wrote:
> Attached is a patch for qemu-0.9.1/slirp/misc.c to implement
>  the getouraddr() function using the BSD function getifaddrs(),
>  which is also available in glibc on Linux.

How is this better than the current way? Does this change something on
hosts with multiple interfaces? What if some interfaces are down?

>  This patch does not include the necessary change to define
>  HAVE_GETIFADDRS on the platforms that have getifaddrs().
>  You will need to either use an autoconf test for getifaddrs(),

I added probing for getifaddrs to configure in the attached patch,
seems to work.

Attachment: getifaddrs_wtc.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]