Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public static function match($entry)
 {
     if (!strpos($entry, '*')) {
         return false;
     }
     $rpDigit = IPV6::getFreeDigit($entry);
     $entry = str_replace('*', $rpDigit, $entry);
     return IPV6::match(trim($entry));
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public static function matchIp($ip)
 {
     return IPV6::match($ip);
 }