anchao commented on code in PR #7616:
URL: https://github.com/apache/nuttx/pull/7616#discussion_r1037779272


##########
net/icmpv6/icmpv6_reply.c:
##########
@@ -117,6 +175,7 @@ void icmpv6_reply(FAR struct net_driver_s *dev, int type, 
int code, int data)
 
   /* Initialize the ICMPv6 header */
 
+  icmpv6 = (FAR struct icmpv6_hdr_s *)(ipv6 + 1);
   icmpv6->type    = type;

Review Comment:
   Done



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to