Loading core/java/android/net/VpnService.java +2 −1 Original line number Diff line number Diff line Loading @@ -596,7 +596,8 @@ public class VpnService extends Service { } } } mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null)); mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null, null, RouteInfo.RTN_UNICAST)); mConfig.updateAllowedFamilies(address); return this; } Loading Loading
core/java/android/net/VpnService.java +2 −1 Original line number Diff line number Diff line Loading @@ -596,7 +596,8 @@ public class VpnService extends Service { } } } mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null)); mRoutes.add(new RouteInfo(new IpPrefix(address, prefixLength), null, null, RouteInfo.RTN_UNICAST)); mConfig.updateAllowedFamilies(address); return this; } Loading