mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
Add a --no-private-ipv4 CLI option (#4042)
* Add a --no-private-ipv4 CLI option * Fix tests * Fix tests
This commit is contained in:
committed by
Arkadiy Paronyan
parent
9defa6a281
commit
401e213aa2
@@ -343,7 +343,7 @@ impl<'a> ParseAndPrepareBuildSpec<'a> {
|
||||
];
|
||||
spec.add_boot_node(addr)
|
||||
}
|
||||
|
||||
|
||||
let json = service::chain_ops::build_spec(spec, raw_output)?;
|
||||
|
||||
print!("{}", json);
|
||||
@@ -625,6 +625,7 @@ fn fill_network_configuration(
|
||||
|
||||
config.transport = TransportConfig::Normal {
|
||||
enable_mdns: !is_dev && !cli.no_mdns,
|
||||
allow_private_ipv4: !cli.no_private_ipv4,
|
||||
wasm_external_transport: None,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user