Skip to content

Commit

Permalink
Derive Clone, Debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvc94ch committed Mar 20, 2021
1 parent 63512e5 commit fc6be78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions protocols/mdns/src/behaviour.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ lazy_static! {
SocketAddr::from((Ipv4Addr::new(224, 0, 0, 251), 5353));
}

/// Configuration for mDNS.
#[derive(Clone, Debug)]
pub struct MdnsConfig {
/// TTL to use for mdns records.
pub ttl: Duration,
Expand Down

0 comments on commit fc6be78

Please sign in to comment.