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 b62365a commit e99b2c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/adapters/udp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@ 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 {
}
else {
socket.bind(&addr.into())?;
}

Expand Down

0 comments on commit e99b2c4

Please sign in to comment.