fix typo (#8124)
This commit is contained in:
parent
fed4864939
commit
6f5bd845ad
@ -231,7 +231,7 @@ impl NetworkConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
/// Create new default configuration with sepcified listen port.
|
||||
/// Create new default configuration with specified listen port.
|
||||
pub fn new_with_port(port: u16) -> NetworkConfiguration {
|
||||
let mut config = NetworkConfiguration::new();
|
||||
config.listen_address = Some(SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::new(0, 0, 0, 0), port)));
|
||||
|
Loading…
Reference in New Issue
Block a user