Skip to content

Commit

Permalink
Also specify interface address for leaving multicast
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Jul 9, 2024
1 parent 6c2f411 commit 85eb15d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ pub(crate) fn udp(
}
frames.get_mut().leave_multicast_v4(
*multi_addr.ip(),
Ipv4Addr::new(0, 0, 0, 0),
interface,
).ok();
info!("Udp proxy left {}", multi_addr);
break;
Expand Down

0 comments on commit 85eb15d

Please sign in to comment.