mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-04-15 12:43:07 +00:00
avoid compile issue in cli_args when using parseIpAddress
This commit is contained in:
parent
f8e0423bb6
commit
945f1f8693
@ -251,7 +251,10 @@ type WakuNodeConf* = object
|
||||
dnsAddrsNameServers* {.
|
||||
desc:
|
||||
"DNS name server IPs to query for DNS multiaddrs resolution. Argument may be repeated.",
|
||||
defaultValue: @[parseIpAddress("1.1.1.1"), parseIpAddress("1.0.0.1")],
|
||||
defaultValue: @[
|
||||
IpAddress(family: IpAddressFamily.IPv4, address_v4: [1'u8, 1, 1, 1]),
|
||||
IpAddress(family: IpAddressFamily.IPv4, address_v4: [1'u8, 0, 0, 1]),
|
||||
],
|
||||
name: "dns-addrs-name-server"
|
||||
.}: seq[IpAddress]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user