Skip to content

Commit

Permalink
Merge pull request #41 from mycognosist/display_for_lan_broadcaster
Browse files Browse the repository at this point in the history
Derive `Debug` for `LanBroadcast` `struct`
  • Loading branch information
mycognosist authored Nov 7, 2023
2 parents a319ef6 + b5eb57b commit 71b7be6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/discovery/lan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub static BROADCAST_REGEX: Lazy<Regex> = Lazy::new(|| {
Regex::new(r"net:([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+):([0-9]+)~shs:([0-9a-zA-Z+=/]+)").unwrap()
});

#[derive(Debug)]
pub struct LanBroadcast {
destination: String,
packets: Vec<(SocketAddr, SocketAddr, String)>,
Expand Down

0 comments on commit 71b7be6

Please sign in to comment.