Commit da32bfed authored by Daniel Wolf's avatar Daniel Wolf
Browse files

pass the logger

parent d705e2f0
......@@ -35,7 +35,7 @@ class SocketBasedProxy(
):Proxy(null, logger) {
private val MAX_POLL_TRIES = 5
private val writeToDevice: Queue<Pair<TunnelHandle.DeviceWriteToken, ByteArray>> = LinkedList() // Remote answers, IPPackets as bytes.
private val forwardedPacketStore: ForwardedPacketStore = ForwardedPacketStore()
private val forwardedPacketStore: ForwardedPacketStore = ForwardedPacketStore(logger)
private var shouldRun = true
private var proxyStopped = false
private var socketReadJob: Job? = null
......
......@@ -65,7 +65,7 @@ class VPNTunnelProxy(val packetProxy: PacketProxy,
private val MAX_POLL_TRIES = 5
private val writeToDevice: Queue<Pair<TunnelHandle.DeviceWriteToken, ByteArray>> = LinkedList() // Remote answers, IPPackets as bytes.
private val forwardedPacketStore: ForwardedPacketStore = ForwardedPacketStore()
private val forwardedPacketStore: ForwardedPacketStore = ForwardedPacketStore(logger)
private val pipesToClose: MutableList<FileDescriptor> = mutableListOf() // Pipes which have to be closed once this proxy stops.
private var shouldRun = true
private var proxyStopped = false
......
Supports Markdown
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