Fix description of --no-private-ipv4 (#4950)

This commit is contained in:
Pierre Krieger
2020-02-18 20:44:43 +01:00
committed by GitHub
parent a14d28150d
commit 4e453a99a6
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -338,8 +338,9 @@ pub enum TransportConfig {
enable_mdns: bool,
/// If true, allow connecting to private IPv4 addresses (as defined in
/// [RFC1918](https://tools.ietf.org/html/rfc1918)), unless the address has been passed in
/// [`NetworkConfiguration::reserved_nodes`] or [`NetworkConfiguration::boot_nodes`].
/// [RFC1918](https://tools.ietf.org/html/rfc1918)). Irrelevant for addresses that have
/// been passed in [`NetworkConfiguration::reserved_nodes`] or
/// [`NetworkConfiguration::boot_nodes`].
allow_private_ipv4: bool,
/// Optional external implementation of a libp2p transport. Used in WASM contexts where we