Skip to content

Commit 14186d1

Browse files
committed
LOCAL_ADDR is not required for -U
ref #744
1 parent 9c07998 commit 14186d1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/service/local.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ pub fn define_command_line_options(mut app: App<'_>) -> App<'_> {
5858
.arg(
5959
Arg::new("TCP_AND_UDP")
6060
.short('U')
61-
.requires("LOCAL_ADDR")
6261
.help("Server mode TCP_AND_UDP"),
6362
)
6463
.arg(
@@ -72,7 +71,6 @@ pub fn define_command_line_options(mut app: App<'_>) -> App<'_> {
7271
Arg::new("UDP_BIND_ADDR")
7372
.long("udp-bind-addr")
7473
.takes_value(true)
75-
.requires("LOCAL_ADDR")
7674
.validator(validator::validate_server_addr)
7775
.help("UDP relay's bind address, default is the same as local-addr"),
7876
)

0 commit comments

Comments
 (0)