ntpsec: lower maxclock by 1
To align with recommendation from the ntpsec docs.
This commit is contained in:
parent
d288c9ecfa
commit
fde3e055c9
|
@ -29,7 +29,7 @@ tos minclock 5
|
|||
|
||||
# minclock + 2 (or 3) + number of pools
|
||||
# Also should be an odd number
|
||||
{% set maxclock = 8 + (ntp_opts.pools | length) %}
|
||||
{% set maxclock = 7 + (ntp_opts.pools | length) %}
|
||||
tos maxclock {{ (maxclock | int %2 == 0) | ternary(maxclock + 1, maxclock) | int }}
|
||||
|
||||
# Exchange time with everybody, but don't allow configuration.
|
||||
|
|
Reference in New Issue