Skip to content

Commit

Permalink
show ASN org as ORG aswell (matomo-org#13078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Dellwing authored and InfinityVoid committed Oct 11, 2018
1 parent e6bb3fa commit 8f5d3f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/GeoIp2/LocationProvider/GeoIp2/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function getLocation($info)
case 'GeoLite2-ASN':
$lookupResult = $ispGeoIp->asn($ip);
$result[self::ISP_KEY] = $lookupResult->autonomousSystemOrganization;
$result[self::ORG_KEY] = $lookupResult->autonomousSystemOrganization;
break;
}
} catch (AddressNotFoundException $e) {
Expand Down

0 comments on commit 8f5d3f7

Please sign in to comment.