Fixed local address checking to support IPv6 addresses