You are here

public static property CleantalkHelper::$private_networks in Anti Spam by CleanTalk 7.5

Same name and namespace in other branches
  1. 7.4 src/CleantalkHelper.php \CleantalkHelper::private_networks

File

src/CleantalkHelper.php, line 22

Class

CleantalkHelper
Cleantalk's hepler class

Code

public static $private_networks = array(
  'v4' => array(
    '10.0.0.0/8',
    '100.64.0.0/10',
    '172.16.0.0/12',
    '192.168.0.0/16',
    '127.0.0.1/32',
  ),
  'v6' => array(
    '0:0:0:0:0:0:0:1/128',
    // localhost
    '0:0:0:0:0:0:a:1/128',
  ),
);