path: root/src/radius/radius_client.h
diff options
authorTomasz Wolniewicz <twoln@umk.pl>2008-03-30 15:15:52 (GMT)
committerJouni Malinen <j@w1.fi>2008-03-30 15:15:52 (GMT)
commitc454f57379b79985bea4c19824e2ebee74385fbb (patch)
tree00e55bb83ac470bd47a45064399589e17e84e5af /src/radius/radius_client.h
parent1e4b9da10ccbb21fd7981f1eb0dd5ffa36ac4f05 (diff)
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)
Diffstat (limited to 'src/radius/radius_client.h')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radius/radius_client.h b/src/radius/radius_client.h
index fd5088b..832a0a2 100644
--- a/src/radius/radius_client.h
+++ b/src/radius/radius_client.h
@@ -57,6 +57,9 @@ struct hostapd_radius_servers {
int acct_interim_interval;
int msg_dumps;
+ struct hostapd_ip_addr client_addr;
+ int force_client_addr;