Skip to content

Commit

Permalink
Update src/adapters/udp.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm authored Sep 13, 2023
1 parent bcce8af commit 793662c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ impl Local for LocalResource {
if let Some(multicast) = multicast {
socket.join_multicast_v4(multicast.ip(), &Ipv4Addr::UNSPECIFIED)?;
socket.bind(&SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, addr.port()).into())?;
}
}
else {
socket.bind(&addr.into())?;
}
Expand Down

0 comments on commit 793662c

Please sign in to comment.