Remove scope_id when non link local addr

This commit is contained in:
Igor Katson 2024-09-16 17:09:51 +01:00
parent f7e0835452
commit 03391764cc
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -343,7 +343,7 @@ Content-Length: 0\r\n\r\n"
if ipv6_is_link_local(a) {
SocketAddr::V6(SocketAddrV6::new(SSDP_MCAST_IPV6_LINK_LOCAL, SSDP_PORT, 0, ifidx))
} else {
SocketAddr::V6(SocketAddrV6::new(SSDP_MCAST_IPV6_SITE_LOCAL, SSDP_PORT, 0, ifidx))
SocketAddr::V6(SocketAddrV6::new(SSDP_MCAST_IPV6_SITE_LOCAL, SSDP_PORT, 0, 0))
}
},
}),