Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branches: ecsv/master,master
commit c5ebf9c80bf37060e5f8b50c06948d18ec39362d Author: Sven Eckelmann sven.eckelmann@open-mesh.com Date: Mon Jan 30 14:46:03 2017 +0100
batman-adv-devel: Fix "aggregated_ogms" setting
The new setting for aggregated_ogms was read from the correct config key. But the setting was applied to the wrong file. Also the value to set was not read from the correct variable.
Reported-by: Edward Beech initialed85@gmail.com Fixes: e035d4c433b4 ("batman-adv-devel: hotplug rewrite") Signed-off-by: Sven Eckelmann sven.eckelmann@open-mesh.com
c5ebf9c80bf37060e5f8b50c06948d18ec39362d batman-adv-devel/files/lib/batman-adv/config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/batman-adv-devel/files/lib/batman-adv/config.sh b/batman-adv-devel/files/lib/batman-adv/config.sh index 3039d3c..3a746a3 100644 --- a/batman-adv-devel/files/lib/batman-adv/config.sh +++ b/batman-adv-devel/files/lib/batman-adv/config.sh @@ -33,7 +33,7 @@ bat_config()
[ ! -f "/sys/class/net/$mesh/mesh/orig_interval" ] && echo "batman-adv mesh $mesh does not exist - check your interface configuration" && return 1
- [ -n "$aggregate_ogms" ] && echo $aggregate_ogms > /sys/class/net/$mesh/mesh/aggregate_ogms + [ -n "$aggregated_ogms" ] && echo $aggregated_ogms > /sys/class/net/$mesh/mesh/aggregated_ogms [ -n "$ap_isolation" ] && echo $ap_isolation > /sys/class/net/$mesh/mesh/ap_isolation [ -n "$bonding" ] && echo $bonding > /sys/class/net/$mesh/mesh/bonding [ -n "$bridge_loop_avoidance" ] && echo $bridge_loop_avoidance > /sys/class/net/$mesh/mesh/bridge_loop_avoidance 2>&-