From: Miroslav Lichvar Date: Mon, 13 Aug 2018 10:17:57 +0000 (+0200) Subject: ntp: change maxdelay* info messages to use option names X-Git-Tag: 3.4-pre1~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f0c0924ac4dccb8ee62bef9f06a7f8c74141b4;p=thirdparty%2Fchrony.git ntp: change maxdelay* info messages to use option names --- diff --git a/ntp_core.c b/ntp_core.c index c3580ebc..ddf73961 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -2405,7 +2405,7 @@ void NCR_ModifyMaxdelay(NCR_Instance inst, double new_max_delay) { inst->max_delay = CLAMP(0.0, new_max_delay, MAX_MAXDELAY); - LOG(LOGS_INFO, "Source %s new max delay %f", + LOG(LOGS_INFO, "Source %s new maxdelay %f", UTI_IPToString(&inst->remote_addr.ip_addr), inst->max_delay); } @@ -2415,7 +2415,7 @@ void NCR_ModifyMaxdelayratio(NCR_Instance inst, double new_max_delay_ratio) { inst->max_delay_ratio = CLAMP(0.0, new_max_delay_ratio, MAX_MAXDELAYRATIO); - LOG(LOGS_INFO, "Source %s new max delay ratio %f", + LOG(LOGS_INFO, "Source %s new maxdelayratio %f", UTI_IPToString(&inst->remote_addr.ip_addr), inst->max_delay_ratio); } @@ -2425,7 +2425,7 @@ void NCR_ModifyMaxdelaydevratio(NCR_Instance inst, double new_max_delay_dev_ratio) { inst->max_delay_dev_ratio = CLAMP(0.0, new_max_delay_dev_ratio, MAX_MAXDELAYDEVRATIO); - LOG(LOGS_INFO, "Source %s new max delay dev ratio %f", + LOG(LOGS_INFO, "Source %s new maxdelaydevratio %f", UTI_IPToString(&inst->remote_addr.ip_addr), inst->max_delay_dev_ratio); }