Changed address family to ip4 for local address