mirror of
https://gitlab.com/fscarmen/warp.git
synced 2026-06-15 03:25:42 +08:00
Fix a bug in changing Client and Wireproxy listening port.
Former-commit-id: 4ec7ca03b553d8eb7c885823f636e62c046e8e59
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user