Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

separate server/client port args for 'add' cmd #43

Merged
merged 4 commits into from
Aug 1, 2024
Merged

Conversation

Aptimex
Copy link
Collaborator

@Aptimex Aptimex commented Jul 31, 2024

--port means very different things for the add server vs add client command, especially when potentially combined with --outbound. Made them separate sub-arguments (instead of shared via add command) to allow for clearer help messages.

Also fixed incorrect behavior of --port for the add server command now that default has been changed to sync with --endpoint where appropriate.

Made the port explicit in added server config files to make it clear that servers always have a relay listening port, and what it is. This will also make it easier to figure out how to connect new servers to existing servers by inspecting existing config files.

@Aptimex Aptimex merged commit 3473125 into main Aug 1, 2024
3 checks passed
@Aptimex Aptimex deleted the port-conflict-fix branch August 1, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant