Commit dc8b07b4 authored by Jose Blaya's avatar Jose Blaya
Browse files

Retrieve VPN IP from IKEv2 interface

parent 12d82ba8
......@@ -35,7 +35,7 @@ NSString *VPNIPAddressFromInterfaces()
// NSLog(@"Interfaces: %@ = %@", ifName, ifIpAddress);
if ([ifName hasPrefix:@"utun"] || [ifName hasPrefix:@"ppp"]) {
if ([ifName hasPrefix:@"utun"] || [ifName hasPrefix:@"ppp"] || [ifName hasPrefix:@"ipsec0"]) {
vpnIpAddress = ifIpAddress;
}
}
......
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