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

Function test_internal_ip_link_local

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

Source from the content-addressed store, hash-verified

510
511 #[test]
512 fn test_internal_ip_link_local() {
513 assert!(is_internal_ip(IpAddr::V4(Ipv4Addr::new(
514 169, 254, 169, 254
515 ))));
516 }
517
518 #[test]
519 fn test_internal_ip_unspecified() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected