Remove scope_id when non link local addr
This commit is contained in:
parent
f7e0835452
commit
03391764cc
1 changed files with 1 additions and 1 deletions
|
|
@ -343,7 +343,7 @@ Content-Length: 0\r\n\r\n"
|
||||||
if ipv6_is_link_local(a) {
|
if ipv6_is_link_local(a) {
|
||||||
SocketAddr::V6(SocketAddrV6::new(SSDP_MCAST_IPV6_LINK_LOCAL, SSDP_PORT, 0, ifidx))
|
SocketAddr::V6(SocketAddrV6::new(SSDP_MCAST_IPV6_LINK_LOCAL, SSDP_PORT, 0, ifidx))
|
||||||
} else {
|
} 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))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue