mirror of
https://github.com/jkcoxson/LocalDevVPN.git
synced 2026-03-02 06:26:16 +01:00
Add Updated Privacy Policy and such
This commit is contained in:
@@ -61,10 +61,7 @@ class PacketTunnelProvider: NEPacketTunnelProvider {
|
||||
if protocols[i].int32Value == AF_INET {
|
||||
modifiedPacket = self.packetReplaceIp(packet, self.tunnelDeviceIp, self.tunnelFakeIp, self.tunnelFakeIp, self.tunnelDeviceIp)
|
||||
}
|
||||
|
||||
NSLog("wow \(modifiedPacket)")
|
||||
|
||||
// Ensure packet has at least 20 bytes before swapping
|
||||
if modifiedPacket.count >= 20 {
|
||||
var mutableBytes = [UInt8](modifiedPacket)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user