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

@@ -1,7 +1,7 @@
function is_self_net() {
case net.type {
NET_IP4: return net ~ IS_SELF_NET_inet4;
NET_IP6: return net ~ IS_SELF_NET_inet6;
NET_IP4: return net ~ is_inet_self_IPv4;
NET_IP6: return net ~ is_inet_self_IPv6;
else: print "is_dn42_prefix: unexpected net.type ", net.type, " ", net; return false;
}
}