Use last index of colon so that we can parse IPv6