openwrt-routing/luci-app-bmx6/bmx6
Roger Pueyo Centelles 6c63383f0d luci-app-bmx6: Avoid race condition in bmx6json.lua get()
The network topology of a BMX6 mesh can be obtained by asking all the nodes
about their links via the bmx6-info script. The wget() function in the
bmx6json.lua file is part of the process, but it often returns nil, even if
the remote data can actually be fetched, in what seems to be a race condition.
By calling the sys.exec("") function empty, the race condition disappears.

Dirty fix to https://github.com/openwrt-routing/packages/issues/436.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2018-12-09 21:06:18 +01:00
..
etc/config luci-app-bmx: Redesign Makefile. Split JS libraries. Clean package 2017-03-26 03:15:06 +02:00
usr/lib/lua/luci luci-app-bmx6: Avoid race condition in bmx6json.lua get() 2018-12-09 21:06:18 +01:00
www luci-app-bmx6: Fix corner case in bmx6-info?tunnels 2018-12-08 22:20:42 +01:00