mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Rename *-private-ipv4 to *-private-ip CLI args (#13208)
* Rename `*-private-ipv4` to `*-private-ip` CLI args Renames the `*-private-ipv4` to `*-private-ip` in the CLI interface. The old names are staying as alias, thus it will not break for anyone. Besides that it also fixes the naming in the rest of the code. * FMT
This commit is contained in:
@@ -291,11 +291,15 @@ where
|
||||
match params.network_config.transport {
|
||||
TransportConfig::MemoryOnly => {
|
||||
config.with_mdns(false);
|
||||
config.allow_private_ipv4(false);
|
||||
config.allow_private_ip(false);
|
||||
},
|
||||
TransportConfig::Normal { enable_mdns, allow_private_ipv4, .. } => {
|
||||
TransportConfig::Normal {
|
||||
enable_mdns,
|
||||
allow_private_ip: allow_private_ipv4,
|
||||
..
|
||||
} => {
|
||||
config.with_mdns(enable_mdns);
|
||||
config.allow_private_ipv4(allow_private_ipv4);
|
||||
config.allow_private_ip(allow_private_ipv4);
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user