From dc99d3f6baa78990a1f539c2c4516f2536253277 Mon Sep 17 00:00:00 2001 From: KANIKIG Date: Thu, 15 Oct 2020 22:43:34 +0800 Subject: [PATCH] fix --- gost.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gost.sh b/gost.sh index 1776290..14aa984 100755 --- a/gost.sh +++ b/gost.sh @@ -330,7 +330,7 @@ function method() else echo "config error" fi - elif [ $i -gt 1 ]; then + else if [ "$is_encrypt" = "nonencrypt" ]; then echo " \"tcp://:$s_port/$d_ip:$d_port\", \"udp://:$s_port/$d_ip:$d_port\"" >> $gost_conf_path