mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-06 04:29:52 +00:00
fix: Magisk module incorrectly matches the lookup main rule in Android 15 (#2259)
Fix the issue where the Magisk module incorrectly matches the lookup main rule in Android 15's cellular network rules, causing data plane connectivity failure
This commit is contained in:
@@ -99,7 +99,7 @@ while true; do
|
|||||||
# 启动后的扫尾工作
|
# 启动后的扫尾工作
|
||||||
if pgrep -f "${EASYTIER}" >/dev/null; then
|
if pgrep -f "${EASYTIER}" >/dev/null; then
|
||||||
|
|
||||||
if ! ip rule show | grep -q "lookup main"; then
|
if ! ip rule show | grep -qE '^[0-9]+:[[:space:]]+from all lookup main$'; then
|
||||||
ip rule add from all lookup main
|
ip rule add from all lookup main
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -109,4 +109,4 @@ while true; do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 10s
|
sleep 10s
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user