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

Fix dynamic ipv6 address check & DNS tests #878

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rhxto
Copy link

@rhxto rhxto commented Feb 29, 2024

I ran make tests and they all pass.
The DNS issue is not reported because I ran into it while testing my changes.
This is my first time contributing to anything open source, so I would love your feedback on this merge request : )

Fixes #877

PS: as cited in the issue, I ran into this while using ceph-osd.
Manually changing the file like in this merge request fixed it.

get_ipv6_addr: the if condition was checking for the eui 64 mac address, but that has nothing to do with global ipv6 addresses.
I added and fixed existing tests accordingly.
The DNS resolver tests were not expecting a NoAnswer that is returned if the query is done against a non-authoritative recursor.
Finally fixed a typo in a test name: loopup -> lookup.
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.

get_ipv6_addr does not actually check if addresses are dynamic
1 participant