mwan3: Fix json_load fails with some data
authoryurtesen <eyurtese@abo.fi>
Tue, 12 Nov 2019 15:53:51 +0000 (17:53 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 28 Apr 2020 08:21:14 +0000 (10:21 +0200)
commitbaacda1b4aa89b0d450f58887f037fc53ef133a4
treed5d6248a5ad4ca3342f8558d25cc8364ace50249
parent6f81894d9e889a373d9403f9fb05466ff88743b7
mwan3: Fix json_load fails with some data

Sometimes the return value of `ubus -S call network.interface.wan status`
cause `json_load` to return `Failed to parse message data` error.

To avoid this, the JSON data always should be quoted with double quotes.

Signed-off-by: Evren Yurtesen <eyurtese@abo.fi>
Removed quoatation marks from commit heading
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 94e0c78826b15c95c40bfa82bbf8bba35dc56961)
net/mwan3/Makefile
net/mwan3/files/usr/sbin/mwan3