net/mwan3: fixup parse json_load an null message
authorKyson Lok <kysonlok@gmail.com>
Wed, 6 Jun 2018 11:07:20 +0000 (19:07 +0800)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 12 Oct 2018 06:13:42 +0000 (08:13 +0200)
commit8c0ed00c397febfdcbb40e901f77a7a15bfc1d9e
treeec787b73d624a2e75da2e9ce1ac482894eb08cd0
parentac2e6dfc0c0a87461441fed21a02fb019c000d17
net/mwan3: fixup parse json_load an null message

If a interface is down, call ubus will return an null message which is
used to json_load, it causes json_get_vars gets value from last load and
l3_device various is nonzero.

Signed-off-by: Kyson Lok <kysonlok@gmail.com>
net/mwan3/files/usr/sbin/mwan3