rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | diff --git a/system/netd/server/RouteController.cpp b/system/netd/server/RouteController.cpp |
| 2 | index 1d9f1e4..aee06f2 100644 |
| 3 | --- a/system/netd/server/RouteController.cpp |
| 4 | +++ b/system/netd/server/RouteController.cpp |
| 5 | @@ -738,7 +738,7 @@ WARN_UNUSED_RESULT int addDirectlyConnectedRule() { |
| 6 | mask.netId = FWMARK_NET_ID_MASK; |
| 7 | |
| 8 | return modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_DIRECTLY_CONNECTED, RT_TABLE_MAIN, |
| 9 | - fwmark.intValue, mask.intValue, IIF_NONE, OIF_NONE, UID_ROOT, UID_ROOT); |
| 10 | + fwmark.intValue, mask.intValue, IIF_NONE, OIF_NONE, INVALID_UID, INVALID_UID); |
| 11 | } |
| 12 | |
| 13 | // Add an explicit unreachable rule close to the end of the prioriy list to make it clear that |