Skip to content

Commit 324cdac

Browse files
committed
review: address Thomas review
1 parent 6adaaec commit 324cdac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

protocols/upnp/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ pub use provider::tokio;
4444
#[derive(Clone, Copy, Debug)]
4545
pub struct Config {
4646
/// Bind address for UDP socket (defaults to all `0.0.0.0`).
47-
pub bind_addr: SocketAddr,
47+
bind_addr: SocketAddr,
4848
/// Broadcast address for discovery packets (defaults to `239.255.255.250:1900`).
49-
pub broadcast_addr: SocketAddr,
49+
broadcast_addr: SocketAddr,
5050
/// Timeout for a search iteration (defaults to 10s).
51-
pub timeout: Option<Duration>,
51+
timeout: Option<Duration>,
5252
/// Should the port mappings be temporary or permanent.
53-
pub permanent: bool,
53+
permanent: bool,
5454
}
5555

5656
impl Config {

0 commit comments

Comments
 (0)