Skip to content

Commit 0b9f0d6

Browse files
author
emptysuns
committed
0.4.3.d
1. 修复不使用portHopping时,client config.json端口不显示的bug
1 parent d310db9 commit 0b9f0d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
hihyV="0.4.3.c"
2+
hihyV="0.4.3.d"
33
function echoColor() {
44
case $1 in
55
# 红色
@@ -313,6 +313,7 @@ function setHysteriaConfig(){
313313
protocol="udp"
314314
ut="udp"
315315
fi
316+
clientPort="${port}"
316317
echo -e "传输协议:"`echoColor red ${protocol}`"\n"
317318
if [ "${protocol}" == "udp" ];then
318319
echoColor purple "您选择udp协议,可使用[端口跳跃/多端口](Port Hopping)功能"
@@ -343,7 +344,6 @@ function setHysteriaConfig(){
343344
echo -e "您选择的端口跳跃/多端口(Port Hopping)参数为: "`echoColor red ${portHoppingStart}:${portHoppingEnd}`"\n"
344345
else
345346
portHoppingStatus="false"
346-
clientPort=${port}
347347
echoColor red "您选择跳过端口跳跃/多端口(Port Hopping)功能"
348348
fi
349349
fi

0 commit comments

Comments
 (0)