]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
android: Fix port scanning IMC
authorTobias Brunner <tobias@strongswan.org>
Thu, 8 Oct 2020 14:42:37 +0000 (16:42 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 29 Oct 2020 09:22:51 +0000 (10:22 +0100)
Since 9e88bb987d65 ("Subscribed Scanner IMC/IMV to IETF_FIREWALL PA subtype")
the port filter attribute is requested with a different message type.

src/frontends/android/app/src/main/jni/libandroidbridge/byod/imc_android.c

index 262026537071927015990251eef08cbdb0fed5e6..d639460f9d0e78b2d24d068beb8ec23f310f2404 100644 (file)
@@ -53,7 +53,7 @@ static const char imc_name[] = "Android";
 
 static pen_type_t msg_types[] = {
        { PEN_IETF, PA_SUBTYPE_IETF_OPERATING_SYSTEM },
-       { PEN_IETF, PA_SUBTYPE_IETF_VPN },
+       { PEN_IETF, PA_SUBTYPE_IETF_FIREWALL },
        { PEN_TCG, PA_SUBTYPE_TCG_PTS },
 };