You are here

function geoip_country_code_by_addr_v6 in Smart IP 6.2

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

File

includes/geoip.inc, line 537

Code

function geoip_country_code_by_addr_v6($gi, $addr) {
  $country_id = geoip_country_id_by_addr_v6($gi, $addr);
  if ($country_id !== false) {
    return $gi->GEOIP_COUNTRY_CODES[$country_id];
  }
  return false;
}