Corrected typo on product_file table
[strongswan.git] / src / libimcv / plugins / imv_scanner / imv_scanner.c
index f9d0616..5561e67 100644 (file)
@@ -228,6 +228,7 @@ TNC_Result TNC_IMV_ReceiveMessage(TNC_IMVID imv_id,
                        ietf_attr_pa_tnc_error_t *error_attr;
                        pa_tnc_error_code_t error_code;
                        chunk_t msg_info, attr_info;
+                       u_int32_t offset;
 
                        error_attr = (ietf_attr_pa_tnc_error_t*)attr;
                        error_code = error_attr->get_error_code(error_attr);
@@ -237,6 +238,10 @@ TNC_Result TNC_IMV_ReceiveMessage(TNC_IMVID imv_id,
 
                        switch (error_code)
                        {
+                               case PA_ERROR_INVALID_PARAMETER:
+                                       offset = error_attr->get_offset(error_attr);
+                                       DBG1(DBG_IMV, "  occurred at offset of %u bytes", offset);
+                                       break;
                                case PA_ERROR_ATTR_TYPE_NOT_SUPPORTED:
                                        attr_info = error_attr->get_attr_info(error_attr);
                                        DBG1(DBG_IMV, "  unsupported attribute %#B", &attr_info);