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

Disable automatic endpoint address detection when endpoint is supplied #240

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

MarcusWichelmann
Copy link
Contributor

@MarcusWichelmann MarcusWichelmann commented Oct 11, 2022

Currently, the dynamic endpoint address detection runs, regardless of whether it's needed. On IPv6-only servers, this might result in a panic. This PR disables the detection when the WGUI_ENDPOINT_ADDRESS parameter is supplied.

This should also help making IPv6-only environments work when the WGUI_ENDPOINT_ADDRESS parameter is set (#129).

MarcusWichelmann added a commit to hetznercloud/apps that referenced this pull request Oct 11, 2022
This applies a patch to fix an error on IPv6-only servers:
ngoduykhanh/wireguard-ui#240
@ngoduykhanh ngoduykhanh merged commit 9d2dd71 into ngoduykhanh:master Dec 2, 2022
@ngoduykhanh
Copy link
Owner

Good catch! Thanks for your contribution.

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.

2 participants