add ipv6 loopback address check. revert whitespace.