Disable mDNS when passing --dev (#2467)

This commit is contained in:
Pierre Krieger
2019-05-04 13:58:06 +02:00
committed by Gavin Wood
parent 8ca343ca8c
commit 747df1f332
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ pub struct NetworkConfigurationParams {
pub in_peers: u32,
/// By default, the network will use mDNS to discover other nodes on the local network. This
/// disables it.
/// disables it. Automatically implied when using --dev.
#[structopt(long = "no-mdns")]
pub no_mdns: bool,