[OpenWrt-Devel] [PATCH 1/3] authsae: Fix meshid in authsae config

Sven Eckelmann sven at open-mesh.com
Tue Nov 24 10:17:21 EST 2015


The variable $mesh_id was never defined in authsae_start_interface and thus
the option meshid in $authsae_conf_file was always set to "".

Signed-off-by: Sven Eckelmann <sven at open-mesh.com>
---
 package/network/services/authsae/files/lib/wifi/authsae.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/authsae/files/lib/wifi/authsae.sh b/package/network/services/authsae/files/lib/wifi/authsae.sh
index d8c5598..6582a35 100644
--- a/package/network/services/authsae/files/lib/wifi/authsae.sh
+++ b/package/network/services/authsae/files/lib/wifi/authsae.sh
@@ -5,7 +5,7 @@ authsae_start_interface() {
 	local authsae_conf_file="/var/run/authsae-$ifname.cfg"
 	local ret=1
 
-	json_get_vars mcast_rate
+	json_get_vars mcast_rate mesh_id
 	set_default mcast_rate "12"
 
 	case "$htmode" in
-- 
2.6.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list