You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wengzhe (via GitHub)" <gi...@apache.org> on 2023/05/22 10:21:31 UTC
[GitHub] [nuttx-apps] wengzhe opened a new pull request, #1770: netlib: set addr.sin_zero to 0 in netlib_set_ipv4dnsaddr
wengzhe opened a new pull request, #1770:
URL: https://github.com/apache/nuttx-apps/pull/1770
## Summary
In `dns_add_nameserver`, the `dns_check_nameserver` is comparing addresses with `addrlen = sizeof(struct sockaddr_in)` for IPv4 addresses, so the trailing `sin_zero` field should be `0`, otherwise it may fail to figure out same nameserver address.
## Impact
## Testing
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] pkarashchenko merged pull request #1770: netlib: set addr.sin_zero to 0 in netlib_set_ipv4dnsaddr
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko merged PR #1770:
URL: https://github.com/apache/nuttx-apps/pull/1770
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org