masayuki2009 opened a new pull request #370: net: socket: Introduce net_clear_sinzero() URL: https://github.com/apache/incubator-nuttx/pull/370 ### Summary - In https://github.com/apache/incubator-nuttx-apps/pull/85, we finally found that sin_zero field in sockaddr_in should be set to zero in the kernel space. This PR introduces net_clear_sinzero() for it. ### Impact - Some socket APIs such as accept(), getpeername(), getsockname() and recvfrom() are affected, if they are used with IPv4 address. ### Testing - I tested this PR with spresense:wifi with usrsocktest application which I modified to check all address field. Also, I confirmed spresense:rndis which does not use usrsock also works.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
