xiaoxiang781216 commented on code in PR #17371:
URL: https://github.com/apache/nuttx/pull/17371#discussion_r2558295414
##########
net/icmpv6/icmpv6_input.c:
##########
@@ -344,6 +345,16 @@ void icmpv6_input(FAR struct net_driver_s *dev, unsigned
int iplen)
adv = ICMPv6ADVERTISE;
if (NETDEV_IS_MY_V6ADDR(dev, ipv6->destipaddr))
+ {
+ should_process = true;
+ }
+ else if (net_ipv6addr_cmp(ipv6->destipaddr, g_ipv6_allnodes))
Review Comment:
why not merge into one if statement
--
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]