-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Fix resolving of DNS server IPv4/6 address #11548
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
Conversation
@AriParkkila, thank you for your changes. |
@@ -1065,3 +1065,16 @@ void AT_CellularContext::set_disconnect() | |||
_is_connected = false; | |||
_device->cellular_callback(NSAPI_EVENT_CONNECTION_STATUS_CHANGE, NSAPI_STATUS_DISCONNECTED, this); | |||
} | |||
|
|||
void AT_CellularContext::is_prefer_ipv6(char *ip, size_t ip_size, char *ip2, size_t ip2_size) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wouldnt be needed if CGCONTRDP's local address is checked, instead of quering the info from the stack.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mirelachirica please re-review
87f5a4a
to
c2b5966
Compare
c2b5966
to
8054b8e
Compare
CI started |
Restarting CI |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Fix resolving of DNS server IPv4/6 address, if a network returns just IPv4 local address but both IPv4 and IPv6 addresses for DNS.
Pull request type
Reviewers
@mirelachirica
Release Notes