/** * {@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)); }
/** * {@inheritdoc} */ public static function matchIp($ip) { return IPV6::match($ip); }