Don't remove IETF standard errors while parsing IMC/IMV messages

This commit is contained in:
Martin Willi 2012-11-19 15:03:45 +01:00
parent 18bb1a1540
commit fdce28c49c
2 changed files with 1 additions and 5 deletions

View File

@ -388,10 +388,6 @@ METHOD(pa_tnc_msg_t, process_ietf_std_errors, bool,
default:
break;
}
/* remove and delete the processed IETF standard error attribute */
this->attributes->remove_at(this->attributes, enumerator);
attr->destroy(attr);
fatal_error = TRUE;
}
}

View File

@ -65,7 +65,7 @@ struct pa_tnc_msg_t {
status_t (*process)(pa_tnc_msg_t *this);
/**
* Process and remove all IETF standard error PA-TNC attributes
* Process all IETF standard error PA-TNC attributes
*
* @return TRUE if at least one error attribute processed
*/