network time: ignore tentative as originally intended

PR: https://forum.opnsense.org/index.php?topic=44743.msg225705#msg225705
This commit is contained in:
Franco Fichtner 2025-01-13 10:51:34 +01:00
parent 9e660d360b
commit 26de190bad

View File

@ -437,7 +437,7 @@ function ntpd_configure_do($verbose = false)
}
foreach (interfaces_addresses($ntpifs) as $tmpaddr => $info) {
if (!$info['bind']) {
if (!$info['bind'] || ($info['family'] == 'inet6' && $info['tentative'])) {
continue;
}