Go to next offset

* We must search next dot after the previous
* cf #207
This commit is contained in:
azerttyu 2017-11-06 17:03:39 +01:00
parent b69ffcf53d
commit 317bf8739c
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ class m_ssl {
$found = true;
break;
}
$offset = strpos($fqdn, ".", $offset);
$offset = strpos($fqdn, ".", $offset+1);
} while (true);
if (!$found) {
echo "FATAL: didn't found fqdn $fqdn in sub_domaines table !\n";