luci-app-ssr-plus: add support for IPv6

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
taowazi007 2021-01-15 14:07:27 +08:00 committed by CN_SZTL
parent 28a2c1240c
commit 33666dc932
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -232,6 +232,7 @@ gen_service_file() {
cat <<-EOF >$2
{
"server": "0.0.0.0",
"server_ipv6": "::",
"server_port": $(uci_get_by_name $1 server_port),
"password": "$(uci_get_by_name $1 password)",
"timeout": $(uci_get_by_name $1 timeout 60),