mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-20 21:00:20 -05:00
ntp: smear leap second with slewing mode and smoothing
Suppress leap second in packets sent to clients when smoothing and leap second slew mode are enabled.
This commit is contained in:
@@ -328,6 +328,14 @@ REF_SetModeEndHandler(REF_ModeEndHandler handler)
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
REF_LeapMode
|
||||
REF_GetLeapMode(void)
|
||||
{
|
||||
return leap_mode;
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
static double
|
||||
Sqr(double x)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user