blob: 6ca9785a37f0842bf2e0cf9613f271d706b105df [file] [log] [blame]
diff --git a/system/netd/server/RouteController.cpp b/system/netd/server/RouteController.cpp
index 1d9f1e4..aee06f2 100644
--- a/system/netd/server/RouteController.cpp
+++ b/system/netd/server/RouteController.cpp
@@ -738,7 +738,7 @@ WARN_UNUSED_RESULT int addDirectlyConnectedRule() {
mask.netId = FWMARK_NET_ID_MASK;
return modifyIpRule(RTM_NEWRULE, RULE_PRIORITY_DIRECTLY_CONNECTED, RT_TABLE_MAIN,
- fwmark.intValue, mask.intValue, IIF_NONE, OIF_NONE, UID_ROOT, UID_ROOT);
+ fwmark.intValue, mask.intValue, IIF_NONE, OIF_NONE, INVALID_UID, INVALID_UID);
}
// Add an explicit unreachable rule close to the end of the prioriy list to make it clear that