From: Mathieu Olivari <math...@qca.qualcomm.com>

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 <math...@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcg...@qca.qualcomm.com>
---
 package/network/services/hostapd/files/hostapd.sh |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/network/services/hostapd/files/hostapd.sh 
b/package/network/services/hostapd/files/hostapd.sh
index e25e870..0f1a619 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" ] && {
-- 
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to