This commit is contained in:
2026-06-08 17:28:53 +08:00
parent 2991b41762
commit 42fd9fcae4
4 changed files with 66 additions and 60 deletions

View File

@@ -23,3 +23,11 @@ function is_unet_self_net() {
else: print "is_unet_prefix: unexpected net.type ", net.type, " ", net; return false;
}
}
function unet_is_valid_network() {
case net.type {
NET_IP4: return unet_is_valid_network_v4_allnet();
NET_IP6: return unet_is_voalid_net_v6();
}
}