multicast config impl tweak
This commit is contained in:
parent
f42dcef0db
commit
e4e6e391a3
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ impl JocalService {
|
|||
let socket = UdpSocket::bind(addr).await?;
|
||||
socket.set_multicast_loop_v4(false)?;
|
||||
socket.set_multicast_ttl_v4(1)?; // local subnet only
|
||||
socket.join_multicast_v4(MULTICAST_IP, config.local_ip_addr)?;
|
||||
socket.join_multicast_v4(MULTICAST_IP, *addr.ip())?;
|
||||
|
||||
let client = reqwest::ClientBuilder::new()
|
||||
// localsend certs are self-signed
|
||||
|
|
Loading…
Reference in a new issue