xiaoxiang781216 commented on code in PR #9294: URL: https://github.com/apache/nuttx/pull/9294#discussion_r1194857172
########## net/udp/udp_conn.c: ########## @@ -807,6 +807,7 @@ int udp_bind(FAR struct udp_conn_s *conn, FAR const struct sockaddr *addr) uint16_t portno; int ret; + conn->domain = addr->sa_family == AF_INET ? PF_INET : PF_INET6; Review Comment: @g2gps should we return error here like: https://github.com/apache/nuttx/pull/9295? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
