Add a check of the supported type of IP address