Skip to content

Fix dynamic ipv6 address check & DNS tests#878

Open
rhxto wants to merge 1 commit intojuju:masterfrom
rhxto:global-ipv6-fix
Open

Fix dynamic ipv6 address check & DNS tests#878
rhxto wants to merge 1 commit intojuju:masterfrom
rhxto:global-ipv6-fix

Conversation

@rhxto
Copy link
Copy Markdown

@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