Skip to content

Commit

Permalink
derive Debug for LanBroadcast struct
Browse files Browse the repository at this point in the history
  • Loading branch information
mycognosist committed Nov 7, 2023
1 parent 46591ef commit b5eb57b
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 b5eb57b

Please sign in to comment.