fixed logging of unsupported TNCCS version
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 11 Jul 2012 11:13:12 +0000 (13:13 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 11 Jul 2012 15:09:05 +0000 (17:09 +0200)
src/libcharon/plugins/tnccs_20/batch/pb_tnc_batch.c

index 383aa95..0d373ef 100644 (file)
@@ -235,7 +235,7 @@ static status_t process_batch_header(private_pb_tnc_batch_t *this,
        /* Version */
        if (version != PB_TNC_VERSION)
        {
-               DBG1(DBG_TNC, "unsupported TNCCS batch version 0x%01x", version);
+               DBG1(DBG_TNC, "unsupported TNCCS batch version 0x%02x", version);
                msg = pb_error_msg_create(TRUE, PEN_IETF,
                                                                  PB_ERROR_VERSION_NOT_SUPPORTED);
                err_msg = (pb_error_msg_t*)msg;