Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78426b28 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Use API RouteInfo constructor in VpnConfig"

parents 1cad04fa 6f27155e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ public class VpnConfig implements Parcelable {
        String[] routes = routesStr.trim().split(" ");
        for (String route : routes) {
            //each route is ip/prefix
            RouteInfo info = new RouteInfo(new IpPrefix(route), null);
            RouteInfo info = new RouteInfo(new IpPrefix(route), null, null, RouteInfo.RTN_UNICAST);
            this.routes.add(info);
            updateAllowedFamilies(info.getDestination().getAddress());
        }