[sheepdog] [PATCH 2/2 v2] sheep: use getifaddrs in get_local_addr

Liu Yuan namei.unix at gmail.com
Wed Jun 6 13:17:11 CEST 2012


On 06/06/2012 06:36 PM, Christoph Hellwig wrote:

> The combination of gethostname and getnameinfo does not seem to work very
> well to find an IP address for a system that doesn't seem have a host
> name, or for one that has IPv6 configured in the kernel without actually
> using it.


Applied this patch after adjusting a parameter indention.

Thanks,
Yuan



More information about the sheepdog mailing list