Skip to content

Commit 4869013

Browse files
committed
bug fixed
1 parent b7db350 commit 4869013

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed
2.23 KB
Binary file not shown.

CoNETVPN1.xcworkspace/xcuserdata/peter.xcuserdatad/xcschemes/xcschememanagement.plist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
<key>orderHint</key>
1010
<integer>27</integer>
1111
</dict>
12+
<key>Demo (Playground) 2.xcscheme</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>28</integer>
16+
</dict>
1217
<key>Demo (Playground).xcscheme</key>
1318
<dict>
1419
<key>orderHint</key>

VPN/swift/LayerMinusBridge.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public final class LayerMinusBridge {
2828
client: NWConnection,
2929
targetHost: String,
3030
targetPort: Int,
31-
LayerMinus: LayerMinus,
3231
verbose: Bool = true,
3332
onClosed: ((UInt64) -> Void)? = nil
3433
) {

VPN/swift/Server 2.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ final class Server {
142142
lst.start(queue: queue)
143143
startStatsTimer()
144144

145-
log("SOCKS5 Server LayerMinus started \(Server.layerMinus.egressNodes.count) egress nodes, \(Server.layerMinus.entryNodes.count) entry nodes ")
146145
}
147146

148147

VPN/swift/ServerConnection 2.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public final class ServerConnection {
4242
init(
4343
id: UInt64,
4444
connection: NWConnection,
45-
LayerMinus: LayerMinus,
4645
logger: Logger = Logger(subsystem: "VPN", category: "SOCKS5"),
4746
verbose: Bool = true,
4847
layerMinus: LayerMinus,
@@ -452,6 +451,7 @@ public final class ServerConnection {
452451
targetHost: entryNode.ip_addr,
453452
targetPort: 80,
454453
verbose: self.verbose,
454+
455455
onClosed: { [weak self] bridgeId in
456456
// 当 bridge 关闭时,关闭 ServerConnection
457457
self?.log("Bridge #\(bridgeId) closed, closing ServerConnection")

0 commit comments

Comments
 (0)