This commit is contained in:
2025-10-30 13:19:52 +08:00
parent 9c11cb60e6
commit 2b86aa4590
2 changed files with 2 additions and 32 deletions

View File

@@ -12,7 +12,7 @@ protocol kernel {
import none;
export filter {
if source = RTS_STATIC then reject;
if dn42_is_self_net_v6() then { # 检查DN42自有网段
if dn42_is_valid_network_v6() then { # 检查DN42自有网段
krt_prefsrc = DN42_V6_kernel;
accept;
}
@@ -31,7 +31,7 @@ protocol kernel {
import none;
export filter {
if source = RTS_STATIC then reject;
if dn42_is_self_net() then { # 检查DN42自有网段
if dn42_is_valid_network() then { # 检查DN42自有网段
krt_prefsrc = DN42_V4_kernel;
accept;
}