Enable ipv6 support in eapol_test (wpa_supplicant)
When building eapol_test as part of wpa_supplicant "CONFIG_IPV6=y" must be added to wpa_supplicant/defconfig in order to enable IPv6 in eapol_test. Without it, eapol_test will segfault when trying to connect to an IPv6 address:
# eapol_test -c peap.msg -C "client-eduroam" -a 2a02:2c40:0:480::80:1079 -s $SECRET z -r 0 -t 10 -n
[...]
Invalid IP address '[2a02:2c40:0:480::80:1079]'
Assertion failed: 0 (eapol_test.c: wpa_init_conf: 1033)
Aborted (core dumped)
This would make eapol_test from the repo useful in an environment with IPv6 address instead of having to compile it one self. I would send a patch, but it's a single line change in the config as explained above.
Thank you.