Commit 9bf23231 authored by Max Lv's avatar Max Lv

fix an issue

parent b248bcf5
...@@ -196,7 +196,7 @@ object Extra { ...@@ -196,7 +196,7 @@ object Extra {
val encMethod = settings.getString(Key.encMethod, "table") val encMethod = settings.getString(Key.encMethod, "table")
val remotePort: Int = try { val remotePort: Int = try {
if (proxy == BuildConfig.SERVER) { if (proxy == BuildConfig.SERVER) {
scala.util.Random.shuffle(Seq(20, 21, 23, 443)).toSeq(0) scala.util.Random.shuffle(Seq(20, 21, 23)).toSeq(0)
} else { } else {
Integer.valueOf(settings.getString(Key.remotePort, "1984")) Integer.valueOf(settings.getString(Key.remotePort, "1984"))
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment