From: Miroslav Lichvar Date: Mon, 14 Jun 2010 07:47:07 +0000 (+0200) Subject: Clarify some cmdmon warning messages X-Git-Tag: 1.25-pre1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6dcf3238f608d764c66e4541f0edae4c7ecc441e;p=thirdparty%2Fchrony.git Clarify some cmdmon warning messages --- diff --git a/cmdmon.c b/cmdmon.c index 058955a7..2131681a 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -1815,7 +1815,7 @@ read_from_cmd_socket(void *anything) if (rx_message.version != PROTO_VERSION_NUMBER) { tx_message.status = htons(STT_NOHOSTACCESS); if (!LOG_RateLimited()) { - LOG(LOGS_WARN, LOGF_CmdMon, "Read packet with protocol version %d (expected %d) from %s:%hu", rx_message.version, PROTO_VERSION_NUMBER, UTI_IPToString(&remote_ip), remote_port); + LOG(LOGS_WARN, LOGF_CmdMon, "Read command packet with protocol version %d (expected %d) from %s:%hu", rx_message.version, PROTO_VERSION_NUMBER, UTI_IPToString(&remote_ip), remote_port); } if (allowed) CLG_LogCommandAccess(&remote_ip, CLG_CMD_BAD_PKT, cooked_now.tv_sec); @@ -1829,7 +1829,7 @@ read_from_cmd_socket(void *anything) if (read_length != expected_length) { if (!LOG_RateLimited()) { - LOG(LOGS_WARN, LOGF_CmdMon, "Read incorrectly sized packet from %s:%hu", UTI_IPToString(&remote_ip), remote_port); + LOG(LOGS_WARN, LOGF_CmdMon, "Read incorrectly sized command packet from %s:%hu", UTI_IPToString(&remote_ip), remote_port); } if (allowed) CLG_LogCommandAccess(&remote_ip, CLG_CMD_BAD_PKT, cooked_now.tv_sec);