remove dn42

This commit is contained in:
2026-06-11 13:53:26 +08:00
parent 42fd9fcae4
commit b24d146845
16 changed files with 10 additions and 232 deletions

View File

@@ -1,9 +0,0 @@
function is_dn42_prefix() {
return net ~ [
172.20.0.0/14+
];
}
function is_dn42_self_net() {
return net ~ is_dn42_self_IPv4;
}

View File

@@ -2,7 +2,6 @@ ipv4 table t102v4;
ipv6 table t102v6;
ipv4 table inet4;
ipv6 table inet6;
ipv4 table dn42v4;
ipv4 table unet4;
ipv6 table unet6;
ipv4 table ospf4;

View File

@@ -7,7 +7,6 @@ function unet_is_valid_network_v4() {
function unet_is_valid_network_v4_allnet(){
if unet_is_valid_network_v4() then return true;
if is_self_net() then return true;
if is_dn42_self_net() then return true;
return false;
}