Apparently that email didn't work. I've inlined the patch this time (and hoping it doesn't destroy the whitespace): >From 3bd16507e508fadd8987e38f72889a10fa7c2c4b Mon Sep 17 00:00:00 2001 From: Stefan Paetow <stefan.paetow@xxxxxxxxxx> Date: Tue, 9 Mar 2021 00:01:05 +0000 Subject: [PATCH] Add the address family when manually constructing IPv4 addresses in eapol_test on Windows. Otherwise other functions fail miserably. Signed-off-by: Stefan Paetow <stefan.paetow@xxxxxxxxxx> --- wpa_supplicant/eapol_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wpa_supplicant/eapol_test.c b/wpa_supplicant/eapol_test.c index 9f69736..d137ad6 100644 --- a/wpa_supplicant/eapol_test.c +++ b/wpa_supplicant/eapol_test.c @@ -1025,6 +1025,7 @@ static void wpa_init_conf(struct eapol_test_data *e, *pos++ = a[1]; *pos++ = a[2]; *pos++ = a[3]; + as->addr.af = AF_INET; } #else /* CONFIG_NATIVE_WINDOWS or CONFIG_ANSI_C_EXTRA */ if (hostapd_parse_ip_addr(authsrv, &as->addr) < 0) { -- 2.2.1 Stefan Paetow Federated Roaming Technical Specialist t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@xxxxxxxxxxxxxxxxx skype: stefan.paetow.janet In line with government advice, at Jisc we’re now working from home and our offices are currently closed. Read our statement on coronavirus <https://www.jisc.ac.uk/about/corporate/coronavirus-statement>. jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. On 09/03/2021, 00:05, "Stefan Paetow" <Stefan.Paetow@xxxxxxxxxx> wrote: Hello Jouni et al, Please find attached a patch for eapol_test.c to allow eapol_test to be built on Windows. Without this tiny change, eapol_test simply refuses to work (it hangs attempting to connect). With Kind Regards Stefan Paetow Federated Roaming Technical Specialist t: +44 (0)1235 822 125 gpg: 0x3FCE5142 xmpp: stefanp@xxxxxxxxxxxxxxxxx skype: stefan.paetow.janet In line with government advice, at Jisc we’re now working from home and our offices are currently closed. Read our statement on coronavirus <https://www.jisc.ac.uk/about/corporate/coronavirus-statement>. jisc.ac.uk Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800. _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap