abort if fatal error is received from peer

This commit is contained in:
Andreas Steffen
2012-11-09 16:07:03 +01:00
parent 84f9b9f9bd
commit 4ccc4fd97c
@@ -284,7 +284,7 @@ static TNC_Result receive_message(imv_state_t *state, imv_msg_t *in_msg)
pts->set_platform_info(pts, os_name, os_version); pts->set_platform_info(pts, os_name, os_version);
} }
if (result != TNC_RESULT_SUCCESS) if (fatal_error || result != TNC_RESULT_SUCCESS)
{ {
out_msg->delete_attributes(out_msg); out_msg->delete_attributes(out_msg);
state->set_recommendation(state, state->set_recommendation(state,