删除DN42相关配置

This commit is contained in:
2025-11-02 13:24:07 +08:00
parent dcdfb1d71b
commit b2d136ae8a
7 changed files with 20 additions and 212 deletions

View File

@@ -12,10 +12,6 @@ protocol kernel {
import none;
export filter {
if source = RTS_STATIC then reject;
if dn42_is_valid_network_v6() then { # 检查DN42自有网段
krt_prefsrc = DN42_V6_kernel;
accept;
}
if !is_bogon_prefix() then {
krt_prefsrc = LOCAL_V6_kernel;
accept;
@@ -31,10 +27,6 @@ protocol kernel {
import none;
export filter {
if source = RTS_STATIC then reject;
if dn42_is_valid_network() then { # 检查DN42自有网段
krt_prefsrc = DN42_V4_kernel;
accept;
}
if unet_is_valid_network_v4() then { # 检查UNET自有网段
krt_prefsrc = UNET_V4_kernel;
accept;