Skip to content

Commit

Permalink
均衡负载test
Browse files Browse the repository at this point in the history
  • Loading branch information
KANIKIG committed Dec 13, 2020
1 parent 6243bda commit 842f50c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\"
Expand Down Expand Up @@ -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\"
Expand Down

0 comments on commit 842f50c

Please sign in to comment.