patacongo commented on a change in pull request #3624:
URL: https://github.com/apache/incubator-nuttx/pull/3624#discussion_r622518195



##########
File path: net/devif/ipv4_input.c
##########
@@ -297,7 +297,14 @@ int ipv4_input(FAR struct net_driver_s *dev)
             }
           else
 #endif
-          if (ipv4->proto != IP_PROTO_UDP)
+#ifdef CONFIG_NET_UDP_BINDTODEVICE
+          /* If the UDP protocol specific socket option UDP_BINDTODEVICE
+           * is selected, then all we must forward all UDP packets to the

Review comment:
       Done.  Thanks!




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


Reply via email to