You are here

function geoip_name_by_addr_v6 in Smart IP 6.2

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

File

includes/geoip.inc, line 716

Code

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