Closed kgv closed 5 months ago
Constructor std::net::SocketAddrV6::new takes scope_id: u32, but Scope and Ipv6Packet::scope method is pub(crate). Maybe should change it to pub.
std::net::SocketAddrV6::new
scope_id: u32
Scope
Ipv6Packet::scope
pub(crate)
pub
I think you mean Ipv6Address::scope. This is used for the multicast scope of the IPv6 address, which is not the same as scope id for the socket.
Ipv6Address::scope
Constructor
std::net::SocketAddrV6::new
takesscope_id: u32
, butScope
andIpv6Packet::scope
method ispub(crate)
. Maybe should change it topub
.