luci-proto-yggdrasil: getPeers calls yggctl with quoted url

Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
William Fleurant 2023-11-12 12:26:36 +01:00
parent 6395c4d7a6
commit 6fa509d0e4

View file

@ -29,7 +29,7 @@ case "$1" in
read -r input
json_load "$input"
json_get_vars interface
echo "$(yggdrasilctl -endpoint=unix:///tmp/yggdrasil/${interface}.sock -json getPeers)"
yggdrasilctl -endpoint="unix:///tmp/yggdrasil/${interface}.sock" -json getPeers
;;
esac
;;