Merge "Send exclude local routes value to netd for VPN network"
This commit is contained in:
commit
317be96553
1 changed files with 1 additions and 1 deletions
|
|
@ -4046,7 +4046,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||
config = new NativeNetworkConfig(nai.network.getNetId(), NativeNetworkType.VIRTUAL,
|
||||
INetd.PERMISSION_NONE,
|
||||
(nai.networkAgentConfig == null || !nai.networkAgentConfig.allowBypass),
|
||||
getVpnType(nai), /*excludeLocalRoutes=*/ false);
|
||||
getVpnType(nai), nai.networkAgentConfig.excludeLocalRouteVpn);
|
||||
} else {
|
||||
config = new NativeNetworkConfig(nai.network.getNetId(), NativeNetworkType.PHYSICAL,
|
||||
getNetworkPermission(nai.networkCapabilities), /*secure=*/ false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue