Fix a bug in changing Client and Wireproxy listening port.

Former-commit-id: 4ec7ca03b553d8eb7c885823f636e62c046e8e59
This commit is contained in:
fscarmen
2024-01-07 13:38:14 +00:00
parent a42e9dc2d1
commit a93788ce8f
+3 -1
View File
@@ -1678,6 +1678,7 @@ change_port() {
case "$f" in
0|1 )
${CHANGE_PORT1[f]}
sleep 1
ss -nltp | grep -q ":$PORT" && info " $(text 122) " || error " $(text 34) "
;;
2 )
@@ -1685,6 +1686,7 @@ change_port() {
case "$MODE" in
[1-2] )
$(eval echo "\${CHANGE_IP$MODE[f]}")
sleep 1
ss -nltp | grep -q ":$PORT" && info " $(text 122) " || error " $(text 34) "
;;
* )
@@ -3223,4 +3225,4 @@ g )
;;
* )
menu
esac
esac