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

API to get DNS server's bound address to allow specifying zero as port number #3999

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

bennylp
Copy link
Member

@bennylp bennylp commented Jun 24, 2024

Specifying zero as port number is syntactically and semantically allowed when creating DNS server, but there was no way to get the bound address. This PR adds such API.

The ability to use zero port is required by pjnath unit tests (currently under development in separate branch) in order to spawn multiple DNS servers simultaneously.

@bennylp bennylp merged commit 8c8675d into master Jun 24, 2024
36 checks passed
@bennylp bennylp deleted the dns-server-any-port branch June 24, 2024 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants