change 4.0

This commit is contained in:
2026-04-14 12:16:31 +08:00
parent 0b3d5d7d00
commit 6f634771cb
13 changed files with 234 additions and 84 deletions

View File

@@ -15,4 +15,12 @@ function unet_is_voalid_net_v6(){
if is_self_net() then return true;
if is_dn42_self_net() then return true;
return false;
}
}
function is_unet_self_net() {
case net.type {
NET_IP4: return net ~ is_unet_self_IPv4;
NET_IP6: return net ~ is_unet_self_IPv6;
else: print "is_dn42_prefix: unexpected net.type ", net.type, " ", net; return false;
}
}