]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
ikev1: Fix prefix length of vendor ID MS NT5 ISAKMPOAKLEY
authorVolker RĂ¼melin <vr_strongswan@t-online.de>
Mon, 1 Nov 2021 13:49:15 +0000 (14:49 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 3 Nov 2021 09:25:51 +0000 (10:25 +0100)
Before commit 6c49ddfbca ("ike: Add additional Vendor IDs for
third-party implementations") the prefix length of vendor ID
MS NT5 ISAKMPOAKLEY was hardcoded to 16. Change the prefix length
accordingly.

Fixes: 6c49ddfbca72 ("ike: Add additional Vendor IDs for third-party implementations")
src/libcharon/sa/ikev1/tasks/isakmp_vendor.c

index 991613d0b8298bf53d9753add21ca5badecf531f..863479fc014085c1823eca809cc61c16301133ce 100644 (file)
@@ -115,7 +115,7 @@ static struct {
          "\x40\x48\xb7\xd5\x6e\xbc\xe8\x85\x25\xe7\xde\x7f\x00\xd6\xc2\xd3\x80\x00\x00\x00"},
 
        /* Windows peers send this VID and a version number */
-       { "MS NT5 ISAKMPOAKLEY", EXT_MS_WINDOWS, FALSE, TRUE, 20,
+       { "MS NT5 ISAKMPOAKLEY", EXT_MS_WINDOWS, FALSE, TRUE, 16,
          "\x1e\x2b\x51\x69\x05\x99\x1c\x7d\x7c\x96\xfc\xbf\xb5\x87\xe4\x61\x00\x00\x00\x00"},
 
        { "Cisco VPN Concentrator", 0, FALSE, TRUE, 16,