From: Andreas Steffen Date: Thu, 11 Nov 2010 06:51:56 +0000 (+0100) Subject: removed debug output in IMC bind functions X-Git-Tag: 4.5.1~524 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=46ddebbf13440736f37686cc24d4b85c6388e0c1;p=thirdparty%2Fstrongswan.git removed debug output in IMC bind functions --- diff --git a/src/libcharon/plugins/tnc_imc/tnc_imc_bind_function.c b/src/libcharon/plugins/tnc_imc/tnc_imc_bind_function.c index c8a0875f4c..be6debb364 100644 --- a/src/libcharon/plugins/tnc_imc/tnc_imc_bind_function.c +++ b/src/libcharon/plugins/tnc_imc/tnc_imc_bind_function.c @@ -26,7 +26,6 @@ TNC_Result TNC_TNCC_ReportMessageTypes(TNC_IMCID imc_id, TNC_MessageTypeList supported_types, TNC_UInt32 type_count) { - DBG2(DBG_TNC,"TNCC_ReportMessageTypes %u %u", imc_id, type_count); return charon->imcs->set_message_types(charon->imcs, imc_id, supported_types, type_count); } @@ -38,8 +37,8 @@ TNC_Result TNC_TNCC_RequestHandshakeRetry(TNC_IMCID imc_id, TNC_ConnectionID connection_id, TNC_RetryReason reason) { - DBG2(DBG_TNC,"TNCC_RequestHandshakeRetry %u %u", imc_id, connection_id); - return TNC_RESULT_SUCCESS; + DBG2(DBG_TNC,"TNCC_RequestHandshakeRetry not supported yet"); + return TNC_RESULT_CANT_RESPOND; } /** @@ -51,8 +50,6 @@ TNC_Result TNC_TNCC_SendMessage(TNC_IMCID imc_id, TNC_UInt32 message_len, TNC_MessageType message_type) { - DBG2(DBG_TNC,"TNCC_SendMessage %u %u '%s' %u %0x", imc_id, connection_id, - message, message_len, message_type); return charon->tnccs->send_message(charon->tnccs, connection_id, message, message_len, message_type); } diff --git a/src/libcharon/plugins/tnc_imv/tnc_imv_bind_function.c b/src/libcharon/plugins/tnc_imv/tnc_imv_bind_function.c index 79ed14f187..cec7025038 100644 --- a/src/libcharon/plugins/tnc_imv/tnc_imv_bind_function.c +++ b/src/libcharon/plugins/tnc_imv/tnc_imv_bind_function.c @@ -38,7 +38,7 @@ TNC_Result TNC_TNCS_RequestHandshakeRetry(TNC_IMVID imv_id, TNC_RetryReason reason) { DBG2(DBG_TNC,"TNCS_RequestHandshakeRetry not supported yet"); - return TNC_RESULT_SUCCESS; + return TNC_RESULT_CANT_RESPOND; } /**