You are here

function _get_record in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/geoipcity.inc \_get_record()
1 call to _get_record()
GeoIP_record_by_addr in includes/geoipcity.inc

File

includes/geoipcity.inc, line 221

Code

function _get_record($gi, $ipnum) {
  $seek_country = _geoip_seek_country($gi, $ipnum);
  if ($seek_country == $gi->databaseSegments) {
    return NULL;
  }
  return _common_get_record($gi, $seek_country);
}