Skip to content

Commit

Permalink
review: address Thomas review
Browse files Browse the repository at this point in the history
  • Loading branch information
jxs committed Jul 4, 2023
1 parent 6adaaec commit 324cdac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions protocols/upnp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ pub use provider::tokio;
#[derive(Clone, Copy, Debug)]
pub struct Config {
/// Bind address for UDP socket (defaults to all `0.0.0.0`).
pub bind_addr: SocketAddr,
bind_addr: SocketAddr,
/// Broadcast address for discovery packets (defaults to `239.255.255.250:1900`).
pub broadcast_addr: SocketAddr,
broadcast_addr: SocketAddr,
/// Timeout for a search iteration (defaults to 10s).
pub timeout: Option<Duration>,
timeout: Option<Duration>,
/// Should the port mappings be temporary or permanent.
pub permanent: bool,
permanent: bool,
}

impl Config {
Expand Down

0 comments on commit 324cdac

Please sign in to comment.