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

Liu Yuan namei.unix at gmail.com
Wed Jun 6 07:37:00 CEST 2012


On 06/06/2012 06:35 AM, 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.


I can apply 1/2, but I can't apply patch 2/2 on top of 1/2, seems that
2/2 need rebasing.

Thanks,
Yuan



More information about the sheepdog mailing list