From: Tobias Brunner Date: Mon, 24 Jun 2013 13:58:34 +0000 (+0200) Subject: android: Add device ID in BeginHandshake X-Git-Tag: 5.1.0dr2~2^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=671614d2291e463d9a2f61e9bcf9a6b59140dc25;p=thirdparty%2Fstrongswan.git android: Add device ID in BeginHandshake --- diff --git a/src/frontends/android/jni/libandroidbridge/byod/imc_android.c b/src/frontends/android/jni/libandroidbridge/byod/imc_android.c index c60f7ca595..74cb520e39 100644 --- a/src/frontends/android/jni/libandroidbridge/byod/imc_android.c +++ b/src/frontends/android/jni/libandroidbridge/byod/imc_android.c @@ -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);