remove debug
This commit is contained in:
parent
5c45362476
commit
48bb011e54
@ -641,7 +641,6 @@ actor SDLContextActor {
|
|||||||
|
|
||||||
if SDLDNSClient.Helper.isDnsRequestPacket(ipPacket: packet) {
|
if SDLDNSClient.Helper.isDnsRequestPacket(ipPacket: packet) {
|
||||||
self.dnsClient?.forward(ipPacket: packet)
|
self.dnsClient?.forward(ipPacket: packet)
|
||||||
SDLLogger.shared.log("[SDLContext] deal tun packet 22", level: .debug)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -650,7 +649,6 @@ actor SDLContextActor {
|
|||||||
if dstIp == networkAddr.ip {
|
if dstIp == networkAddr.ip {
|
||||||
let nePacket = NEPacket(data: packet.data, protocolFamily: 2)
|
let nePacket = NEPacket(data: packet.data, protocolFamily: 2)
|
||||||
self.provider.packetFlow.writePacketObjects([nePacket])
|
self.provider.packetFlow.writePacketObjects([nePacket])
|
||||||
SDLLogger.shared.log("[SDLContext] deal tun packet 33", level: .debug)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -661,7 +659,6 @@ actor SDLContextActor {
|
|||||||
SDLLogger.shared.log("[SDLContext] flow_session: \(flowSession)", level: .debug)
|
SDLLogger.shared.log("[SDLContext] flow_session: \(flowSession)", level: .debug)
|
||||||
}
|
}
|
||||||
|
|
||||||
SDLLogger.shared.log("[SDLContext] deal tun packet 44", level: .debug)
|
|
||||||
// 查找arp缓存中是否有目标mac地址
|
// 查找arp缓存中是否有目标mac地址
|
||||||
if let dstMac = self.arpServer.query(ip: dstIp) {
|
if let dstMac = self.arpServer.query(ip: dstIp) {
|
||||||
SDLLogger.shared.log("[SDLContext] dstIp: \(dstIp.asIpAddress()), dst_mac is: \(SDLUtil.formatMacAddress(mac: dstMac))", level: .debug)
|
SDLLogger.shared.log("[SDLContext] dstIp: \(dstIp.asIpAddress()), dst_mac is: \(SDLUtil.formatMacAddress(mac: dstMac))", level: .debug)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user