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

Fixes #224: Added ipv6 support to openwisp-get-address #225

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

Conversation

Bartosz-lab
Copy link

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Fixes #224.

Description of Changes

  • Added support for getting the IPv6 address if the IPv4 address is not found in openwisp-get-address.
  • Added a --prefer-ipv6 flag to search for IPv6 addresses first.

Copy link
Member

@nemesifier nemesifier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. I have one doubt, what's the point of the --prefer-ipv6 flag if it's not used in the rest of the code?

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.

[bug] openwisp-get-address not work with IPv6 only interface
2 participants