pub fn canonical_peer_addr(
peer_socket_addr: impl Into<PeerSocketAddr>,
) -> PeerSocketAddr
Expand description
Transform a PeerSocketAddr
into a canonical Zebra PeerSocketAddr
, converting
IPv6-mapped IPv4 addresses, and removing IPv6 scope IDs and flow information.
See canonical_ip_addr
for detailed info on IPv6-mapped IPv4 addresses.