add relative PB-TNC message offset

This commit is contained in:
Andreas Steffen
2011-07-13 18:59:35 +02:00
parent 0ccdf898bb
commit a96d9abf3e
@@ -417,7 +417,7 @@ static status_t process_tnc_msg(private_pb_tnc_batch_t *this)
if (status == FAILED || status == VERIFY_ERROR)
{
msg = pb_error_msg_create_with_offset(TRUE, PEN_IETF,
PB_ERROR_INVALID_PARAMETER, this->offset);
PB_ERROR_INVALID_PARAMETER, this->offset + offset);
this->errors->insert_last(this->errors, msg);
}
if (status == FAILED)