rust-lang / libs-team

The home of the library team
Apache License 2.0
127 stars 19 forks source link

fix: Update ipcheck #454

Open umgefahren opened 1 month ago

umgefahren commented 1 month ago

Differentes remain: Go and Rust have different opinions on is_global. One loopback address remains debated: Rust should also check if an IPv6 address is actually an IPv4 mapped to IPv6 and is loopback.

Rust differentiates unicast_link_local and IPv4 to IPv6 mapped addresses that are link local (in IPv4 definition).