[Bug 385255] libSM should use getifaddrs() instead of DNS