android: Add device ID in BeginHandshake
authorTobias Brunner <tobias@strongswan.org>
Mon, 24 Jun 2013 13:58:34 +0000 (15:58 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 8 Jul 2013 16:49:30 +0000 (18:49 +0200)
src/frontends/android/jni/libandroidbridge/byod/imc_android.c

index c60f7ca..74cb520 100644 (file)
@@ -488,6 +488,8 @@ static TNC_Result tnc_imc_beginhandshake(TNC_IMCID imc_id,
                                                out_msg, NULL);
                add_measurement((pen_type_t){ PEN_IETF, IETF_ATTR_STRING_VERSION },
                                                out_msg, NULL);
+               add_measurement((pen_type_t){ PEN_ITA, ITA_ATTR_DEVICE_ID },
+                                               out_msg, NULL);
                /* send PA-TNC message with the excl flag not set */
                result = out_msg->send(out_msg, FALSE);
                out_msg->destroy(out_msg);