Log UID and PID of legacy route requests.
Bug: 23801105 Change-Id: I1722af0424f5b9bbd7276b77ce1571842fa541b3
This commit is contained in:
@@ -1366,7 +1366,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
bestRoute = RouteInfo.makeHostRoute(addr, bestRoute.getGateway(), iface);
|
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 {
|
try {
|
||||||
mNetd.addLegacyRouteForNetId(netId, bestRoute, uid);
|
mNetd.addLegacyRouteForNetId(netId, bestRoute, uid);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user