Skip to content

#427: Hotfix for ipv6 represented as subnet usecase #481

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

Merged
merged 4 commits into from
Jun 21, 2024
Merged

Conversation

mageddo
Copy link
Owner

@mageddo mageddo commented Jun 21, 2024

As reported at #427, For an unidentified reason, sometimes network api responds an IPV6 with a subnet mask instead of a plain IP which is the expected behavior, a hotfix for that was made to extract the IP from this string when it happens, it only happens with ipv6 addresses.

Expected address

"Gateway": "fddb:21e4:36d4:2::1"

Actual address

"Gateway": "fddb:21e4:36d4:2::1/64"

@mageddo mageddo merged commit efe7cdd into master Jun 21, 2024
1 check passed
@mageddo mageddo deleted the feat/427 branch June 21, 2024 17:31
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.

1 participant