Skip to content

Commit

Permalink
Revert "Fix Shadowsocks/R bind ipv6"
Browse files Browse the repository at this point in the history
This reverts commit 32160a2.
  • Loading branch information
coolsnowwolf committed Apr 19, 2023
1 parent 69a021d commit bb1b3d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions luci-app-ssr-plus/root/etc/init.d/shadowsocksr
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ gen_service_file() {
if [ $1 == "ssr" ]; then
cat <<-EOF >$3
{
"server": ["[::0]", "0.0.0.0"],
"server": "0.0.0.0",
"server_ipv6": "::",
"server_port": $(uci_get_by_name $2 server_port),
"mode": "tcp_and_udp",
"password": "$(uci_get_by_name $2 password)",
Expand All @@ -242,7 +243,8 @@ gen_service_file() {
else
cat <<-EOF >$3
{
"server": ["[::0]", "0.0.0.0"],
"server": "0.0.0.0",
"server_ipv6": "::",
"server_port": $(uci_get_by_name $2 server_port),
"mode": "tcp_and_udp",
"password": "$(uci_get_by_name $2 password)",
Expand Down

0 comments on commit bb1b3d9

Please sign in to comment.