As above, this doesn't work for IPv6.