pkarashchenko commented on code in PR #7789:
URL: https://github.com/apache/nuttx/pull/7789#discussion_r1039912064


##########
net/icmpv6/icmpv6_input.c:
##########
@@ -336,10 +336,12 @@ void icmpv6_input(FAR struct net_driver_s *dev, unsigned 
int iplen)
 
                     if ((prefixopt->flags & ICMPv6_PRFX_FLAG_A) != 0)
                       {
+                        FAR void *addr = prefixopt->prefix;

Review Comment:
   Or introduce intermediate type for ICMPv6_OPT_PREFIX that will be not packed



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