Skip to content

Commit

Permalink
show ASN org as ORG aswell (#13078)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Dellwing authored and sgiehl committed Jun 20, 2018
1 parent 1c119bc commit b8b2f75
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 b8b2f75

Please sign in to comment.