luci-proto-yggdrasil: getPeers calls yggctl with quoted url
Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
parent
6395c4d7a6
commit
6fa509d0e4
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ case "$1" in
|
||||||
read -r input
|
read -r input
|
||||||
json_load "$input"
|
json_load "$input"
|
||||||
json_get_vars interface
|
json_get_vars interface
|
||||||
echo "$(yggdrasilctl -endpoint=unix:///tmp/yggdrasil/${interface}.sock -json getPeers)"
|
yggdrasilctl -endpoint="unix:///tmp/yggdrasil/${interface}.sock" -json getPeers
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue