Skip to content

Commit 2695916

Browse files
committed
Updated SES as data center IP.
1 parent 18848a7 commit 2695916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

class.IP2Proxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Database
3131
*
3232
* @var string
3333
*/
34-
const VERSION = '2.0.0';
34+
const VERSION = '2.0.1';
3535

3636
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
3737
// Error field constants ///////////////////////////////////////////////////////////////////////////////////////////////////////////////
@@ -969,7 +969,7 @@ protected function lookup($ip, $fields = null, $asNamed = true)
969969
} else {
970970
$proxyType = $this->readProxyType($pointer);
971971

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

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

0 commit comments

Comments
 (0)