aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2011-07-13 18:59:35 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2011-07-13 18:59:35 +0200
commita96d9abf3eb4f9a251cda59e0abe1ffca1fe5303 (patch)
tree54838c51a8836900fa9d9e1355f0dbac5361b3fa
parent0ccdf898bb1cabcaa03a7c197505a30f6c804685 (diff)
downloadstrongswan-a96d9abf3eb4f9a251cda59e0abe1ffca1fe5303.tar.bz2
strongswan-a96d9abf3eb4f9a251cda59e0abe1ffca1fe5303.tar.xz
add relative PB-TNC message offset
-rw-r--r--src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c2
1 files changed, 1 insertions, 1 deletions
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)