Skip to content

Commit

Permalink
Updated SES as data center IP.
Browse files Browse the repository at this point in the history
  • Loading branch information
ip2location committed May 27, 2019
1 parent 18848a7 commit 2695916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class.IP2Proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Database
*
* @var string
*/
const VERSION = '2.0.0';
const VERSION = '2.0.1';

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Error field constants ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -969,7 +969,7 @@ protected function lookup($ip, $fields = null, $asNamed = true)
} else {
$proxyType = $this->readProxyType($pointer);

$results[self::IS_PROXY] = ($proxyType == '-') ? 0 : (($proxyType == 'DCH') ? 2 : 1);
$results[self::IS_PROXY] = ($proxyType == '-') ? 0 : (($proxyType == 'DCH' || $proxyType == 'SES') ? 2 : 1);

if (strlen($proxyType) > 3) {
$results[self::IS_PROXY] = -1;
Expand Down

0 comments on commit 2695916

Please sign in to comment.