aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/tnccs_20/tnccs_20.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-11-10 15:44:09 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-11-10 15:44:09 +0100
commitb55310b3a86233ccdabe5f62ed9b00348613c78a (patch)
treec5c8fa0f5714dd334682d40d98089bc6274024a5 /src/libcharon/plugins/tnccs_20/tnccs_20.c
parent7ead19a700a4c8afe2e838876fec309c59a03692 (diff)
downloadstrongswan-b55310b3a86233ccdabe5f62ed9b00348613c78a.tar.bz2
strongswan-b55310b3a86233ccdabe5f62ed9b00348613c78a.tar.xz
append any previously collection messages to batch
Diffstat (limited to 'src/libcharon/plugins/tnccs_20/tnccs_20.c')
-rw-r--r--src/libcharon/plugins/tnccs_20/tnccs_20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/tnccs_20/tnccs_20.c b/src/libcharon/plugins/tnccs_20/tnccs_20.c
index 04bf2a2d0..158b5289b 100644
--- a/src/libcharon/plugins/tnccs_20/tnccs_20.c
+++ b/src/libcharon/plugins/tnccs_20/tnccs_20.c
@@ -117,7 +117,7 @@ METHOD(tls_t, build, status_t,
char *msg = this->is_server ? "tncs->tncc 2.0|" : "tncc->tncs 2.0|";
size_t len;
- this->batch = chunk_clone(chunk_create(msg, strlen(msg)));
+ this->batch = chunk_cat("cm", chunk_create(msg, strlen(msg)), this->batch);
if (!this->is_server && !this->connection_id)
{