Skip to content

Commit

Permalink
missed a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Aptimex committed Jul 29, 2024
1 parent 818b489 commit 7dad335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/add_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (c addClientCmdConfig) Run() {
disableV6 = true
}

if addArgs.port == -1 {
if addArgs.port == USE_ENDPOINT_PORT {
addArgs.port = portFromEndpoint(addArgs.endpoint);
}

Expand Down

0 comments on commit 7dad335

Please sign in to comment.