From: Miroslav Lichvar Date: Fri, 24 Jan 2014 15:37:26 +0000 (+0100) Subject: Remove superfluous code in read_from_cmd_socket() X-Git-Tag: 1.30-pre1~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f3e464202622ffbbd342b242382a92979a6e7d8;p=thirdparty%2Fchrony.git Remove superfluous code in read_from_cmd_socket() --- diff --git a/cmdmon.c b/cmdmon.c index fe63cbd2..8ec85f3f 100644 --- a/cmdmon.c +++ b/cmdmon.c @@ -1749,7 +1749,6 @@ read_from_cmd_socket(void *anything) memset(&tx_message.auth, 0, sizeof(tx_message.auth)); if (rx_message.version != PROTO_VERSION_NUMBER) { - tx_message.status = htons(STT_NOHOSTACCESS); if (!LOG_RateLimited()) { 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); }