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

Commit aa281e2b authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Log UID and PID of legacy route requests.

Bug: 23801105
Change-Id: I1722af0424f5b9bbd7276b77ce1571842fa541b3
parent f8f9c102
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1366,7 +1366,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
                bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface);
            }
        }
        if (DBG) log("Adding " + bestRoute + " for interface " + bestRoute.getInterface());
        if (DBG) log("Adding legacy route " + bestRoute +
                " for UID/PID " + uid + "/" + Binder.getCallingPid());
        try {
            mNetd.addLegacyRouteForNetId(netId, bestRoute, uid);
        } catch (Exception e) {