Skip to content
Snippets Groups Projects
Commit 94e0c788 authored by yurtesen's avatar yurtesen Committed by Florian Eckert
Browse files

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: default avatarEvren Yurtesen <eyurtese@abo.fi>
Removed quoatation marks from commit heading
Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
parent 192c44e2
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment