isolate a TNC client if an error occurs
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 22 Apr 2012 18:24:59 +0000 (20:24 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 22 Apr 2012 18:24:59 +0000 (20:24 +0200)
src/libpts/plugins/imv_attestation/imv_attestation.c

index 6bd5984..51069b0 100644 (file)
@@ -322,7 +322,7 @@ static TNC_Result receive_message(TNC_IMVID imv_id,
        {
                attr_list->destroy_offset(attr_list, offsetof(pa_tnc_attr_t, destroy));
                state->set_recommendation(state,
        {
                attr_list->destroy_offset(attr_list, offsetof(pa_tnc_attr_t, destroy));
                state->set_recommendation(state,
-                                                               TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION,
+                                                               TNC_IMV_ACTION_RECOMMENDATION_ISOLATE,
                                                                TNC_IMV_EVALUATION_RESULT_ERROR);
                return imv_attestation->provide_recommendation(imv_attestation,
                                                                                                           connection_id);
                                                                TNC_IMV_EVALUATION_RESULT_ERROR);
                return imv_attestation->provide_recommendation(imv_attestation,
                                                                                                           connection_id);