diff options
| author | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-10-09 00:58:12 +0200 |
|---|---|---|
| committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-10-09 00:58:12 +0200 |
| commit | 3cb3f85dfc228352425e7871fcb02d53d53a7ef3 (patch) | |
| tree | 7139368d2419246a5a05ff9572d626cad847c1d7 /src/libcharon/plugins | |
| parent | e9ba435fe38edbf9f08c678fbcc1f8ae0515df17 (diff) | |
| download | strongswan-3cb3f85dfc228352425e7871fcb02d53d53a7ef3.tar.bz2 strongswan-3cb3f85dfc228352425e7871fcb02d53d53a7ef3.tar.xz | |
TNCCS debug cosmetics
Diffstat (limited to 'src/libcharon/plugins')
| -rw-r--r-- | src/libcharon/plugins/tnccs_11/tnccs_11.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcharon/plugins/tnccs_11/tnccs_11.c b/src/libcharon/plugins/tnccs_11/tnccs_11.c index 9f0505a36..3d2384cb9 100644 --- a/src/libcharon/plugins/tnccs_11/tnccs_11.c +++ b/src/libcharon/plugins/tnccs_11/tnccs_11.c @@ -32,7 +32,7 @@ static TNC_Result buffer_batch(u_int32_t id, const char *data, size_t len) { if (id >= TNC_SEND_BUFFER_SIZE) { - DBG1(DBG_IKE, "TNCCS Batch with Connection ID %u cannot be stored in " + DBG1(DBG_IKE, "TNCCS Batch for Connection ID %u cannot be stored in " "send buffer with size %d", id, TNC_SEND_BUFFER_SIZE); return TNC_RESULT_FATAL; } @@ -55,7 +55,7 @@ static bool retrieve_batch(u_int32_t id, chunk_t *batch) { if (id >= TNC_SEND_BUFFER_SIZE) { - DBG1(DBG_IKE, "TNCCS Batch with Connection ID %u cannot be retrieved from " + DBG1(DBG_IKE, "TNCCS Batch for Connection ID %u cannot be retrieved from " "send buffer with size %d", id, TNC_SEND_BUFFER_SIZE); return FALSE; } @@ -142,7 +142,7 @@ METHOD(tls_t, process, status_t, conn_id = this->is_server ? this->tncs_connection->connectionID : this->tncc_connection->connectionID; - DBG1(DBG_IKE, "received TNCCS Batch of %u bytes for Connection ID %u:", + DBG1(DBG_IKE, "received TNCCS Batch (%u bytes) for Connection ID %u:", buflen, conn_id); DBG1(DBG_IKE, "%.*s", buflen, buf); @@ -207,7 +207,7 @@ METHOD(tls_t, build, status_t, if (batch.len) { - DBG1(DBG_IKE, "sending TNCCS Batch of %d bytes for Connection ID %u:", + DBG1(DBG_IKE, "sending TNCCS Batch (%d bytes) for Connection ID %u:", batch.len, conn_id); DBG1(DBG_IKE, "%.*s", batch.len, batch.ptr); memcpy(buf, batch.ptr, len); |
