You are here

function GeoIP_record_by_addr_v6 in Smart IP 6.2

Same name and namespace in other branches
  1. 7.2 includes/geoipcity.inc \GeoIP_record_by_addr_v6()

File

includes/geoipcity.inc, line 213

Code

function GeoIP_record_by_addr_v6($gi, $addr) {
  if ($addr == NULL) {
    return 0;
  }
  $ipnum = inet_pton($addr);
  return _get_record_v6($gi, $ipnum);
}