mirror of
https://github.com/openwrt/luci.git
synced 2025-12-22 01:44:35 +04:00
luci-proto-yggdrasil: getPeers calls yggctl with quoted url
Signed-off-by: William Fleurant <meshnet@protonmail.com>
This commit is contained in:
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user