MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / test_internal_ip_unspecified

Function test_internal_ip_unspecified

crates/openshell-core/src/net.rs:519–522  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

517
518 #[test]
519 fn test_internal_ip_unspecified() {
520 assert!(is_internal_ip(IpAddr::V4(Ipv4Addr::UNSPECIFIED)));
521 assert!(is_internal_ip(IpAddr::V6(Ipv6Addr::UNSPECIFIED)));
522 }
523
524 #[test]
525 fn test_internal_ip_v6_ula() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected