Add cidr to whitelist function