wangchen61698 commented on code in PR #10319:
URL: https://github.com/apache/nuttx/pull/10319#discussion_r1302362245


##########
net/udp/udp_send.c:
##########
@@ -115,15 +116,27 @@ void udp_send(FAR struct net_driver_s *dev, FAR struct 
udp_conn_s *conn)
               raddr = conn->u.ipv4.raddr;
             }
 
+#ifdef CONFIG_NET_IGMP
+          if (IN_MULTICAST(NTOHL(raddr)) &&
+              net_ipv4addr_cmp(dev->d_ipaddr, INADDR_ANY))

Review Comment:
   It refers to linux(5.19)code  ,udp.c
   
![image](https://github.com/apache/nuttx/assets/129070278/e4970721-6ff5-48a6-a6b3-685ac0652de0)
   
   
   



-- 
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]

Reply via email to