aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-10-08 11:09:27 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-10-08 11:09:27 +0000
commit21108bc2108bd66b926bfab2b6dd10062b646a87 (patch)
tree8693d97332f84fb11e4b70f11f408b0623602225
parente72b11797c263725fcf0881e2b4fee32da9366ba (diff)
downloadmaster-187ad058-21108bc2108bd66b926bfab2b6dd10062b646a87.tar.gz
master-187ad058-21108bc2108bd66b926bfab2b6dd10062b646a87.tar.bz2
master-187ad058-21108bc2108bd66b926bfab2b6dd10062b646a87.zip
hostapd: Add eap_reauth_period config option
This adds the eap_reauth_period to be used for modifying the RADIUS server reauthentication authentication period, a parameter that gets passed directly to the hostapd configuration file. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38334 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index e25e870aa2..0f1a619a55 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -108,6 +108,8 @@ hostapd_set_bss_options() {
[ -n "$acct_port" ] && append "$var" "acct_server_port=$acct_port" "$N"
config_get acct_secret "$vif" acct_secret
[ -n "$acct_secret" ] && append "$var" "acct_server_shared_secret=$acct_secret" "$N"
+ config_get eap_reauth_period "$vif" eap_reauth_period
+ [ -n "$eap_reauth_period" ] && append "$var" "eap_reauth_period=$eap_reauth_period" "$N"
config_get dae_client "$vif" dae_client
config_get dae_secret "$vif" dae_secret
[ -n "$dae_client" -a -n "$dae_secret" ] && {