Added support for IP address comparisons within getRPI