eapol_test: Allow client IP address to be specified
authorTomasz Wolniewicz <twoln@umk.pl>
Sun, 30 Mar 2008 15:15:52 +0000 (18:15 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 30 Mar 2008 15:15:52 +0000 (18:15 +0300)
commitc454f57379b79985bea4c19824e2ebee74385fbb
tree00e55bb83ac470bd47a45064399589e17e84e5af
parent1e4b9da10ccbb21fd7981f1eb0dd5ffa36ac4f05
eapol_test: Allow client IP address to be specified

Allow the user to set the IP address of the eapol_test client. This if
very useful when you have a machine with many interfaces and want to use a
particular one for testing RADIUS connectivity. For instance when I run the
national eduroam proxy I can only connect to other server from a particular
address, an our machine happens to have several IPs. So if I want to run
connectivity tests, I must make sure that my test uses a particular
interface. The -A option allows one to set this).

(jm: cleaned up to use radius configuration structure instead of global
variable for the address and added IPv6 support)
src/radius/radius_client.c
src/radius/radius_client.h
wpa_supplicant/eapol_test.c