Do not unnecessarily put IPs into a List and then copy them to a Set