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 |