mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
IPv6 By Default (#6808)
This commit is contained in:
@@ -147,16 +147,16 @@ pub fn cli_app() -> Command {
|
||||
.long("listen-address")
|
||||
.value_name("ADDRESS")
|
||||
.help("The address lighthouse will listen for UDP and TCP connections. To listen \
|
||||
over IpV4 and IpV6 set this flag twice with the different values.\n\
|
||||
over IPv4 and IPv6 set this flag twice with the different values.\n\
|
||||
Examples:\n\
|
||||
- --listen-address '0.0.0.0' will listen over IPv4.\n\
|
||||
- --listen-address '::' will listen over IPv6.\n\
|
||||
- --listen-address '0.0.0.0' --listen-address '::' will listen over both \
|
||||
IPv4 and IPv6. The order of the given addresses is not relevant. However, \
|
||||
multiple IPv4, or multiple IPv6 addresses will not be accepted.")
|
||||
multiple IPv4, or multiple IPv6 addresses will not be accepted. \
|
||||
If omitted, Lighthouse will listen on all interfaces, for both IPv4 and IPv6.")
|
||||
.action(ArgAction::Append)
|
||||
.num_args(0..=2)
|
||||
.default_value("0.0.0.0")
|
||||
.display_order(0)
|
||||
)
|
||||
.arg(
|
||||
|
||||
Reference in New Issue
Block a user