From a96d9abf3eb4f9a251cda59e0abe1ffca1fe5303 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 13 Jul 2011 18:59:35 +0200 Subject: [PATCH] add relative PB-TNC message offset --- src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c b/src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c index efc6d3e4b..8d9968c97 100644 --- a/src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c +++ b/src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c @@ -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)