From 842f50cb6adf1832da5816d5bf8e2448f835dbdc Mon Sep 17 00:00:00 2001 From: KANIKIG Date: Sun, 13 Dec 2020 23:09:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9D=87=E8=A1=A1=E8=B4=9F=E8=BD=BDtest?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gost.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gost.sh b/gost.sh index 0c084ac..d14b282 100755 --- a/gost.sh +++ b/gost.sh @@ -410,8 +410,8 @@ function method() { echo " \"tcp://:$s_port/$d_ip:$d_port\", \"udp://:$s_port/$d_ip:$d_port\"" >>$gost_conf_path elif [[ "$is_encrypt" == "peer"* ]]; then - echo " \"tcp://:$s_port?peer=$d_ip.txt\", - \"udp://:$s_port?peer=$d_ip.txt\"" >>$gost_conf_path + echo " \"tcp://:$s_port?peer=~/$d_ip.txt\", + \"udp://:$s_port?peer=~/$d_ip.txt\"" >>$gost_conf_path elif [ "$is_encrypt" == "encrypttls" ]; then echo " \"tcp://:$s_port\", \"udp://:$s_port\" @@ -448,8 +448,8 @@ function method() { echo " \"tcp://:$s_port/$d_ip:$d_port\", \"udp://:$s_port/$d_ip:$d_port\"" >>$gost_conf_path elif [[ "$is_encrypt" == "peer"* ]]; then - echo " \"tcp://:$s_port?peer=$d_ip.txt\", - \"udp://:$s_port?peer=$d_ip.txt\"" >>$gost_conf_path + echo " \"tcp://:$s_port?peer=~/$d_ip.txt\", + \"udp://:$s_port?peer=~/$d_ip.txt\"" >>$gost_conf_path elif [ "$is_encrypt" == "encrypttls" ]; then echo " \"tcp://:$s_port\", \"udp://:$s_port\"