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

Properly parse dns resolver address #622

Merged
merged 4 commits into from
Dec 13, 2022
Merged

Conversation

mlsmaycon
Copy link
Collaborator

Prevent panic when the address is empty. Common with older managers, where the resolver is disabled by default as we receive an empty DNS config

Describe your changes

Issue ticket number and link

Checklist

  • Is it a bug fix

Prevent panic when address is empty. Common with older managers, where
resolver is disabled by default as
we receive an empty dns config
@mlsmaycon mlsmaycon requested a review from braginini December 12, 2022 21:22
@mlsmaycon mlsmaycon merged commit 7dfef09 into main Dec 13, 2022
@mlsmaycon mlsmaycon deleted the properly-parse-dns-address branch December 13, 2022 11:26
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
Prevent panic when address is empty. Common with older managers, where
resolver is disabled by default as
we receive an empty dns config
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