diff --git a/net/devif/ipv6_input.c b/net/devif/ipv6_input.c index 3a2a665903..0816630679 100644 --- a/net/devif/ipv6_input.c +++ b/net/devif/ipv6_input.c @@ -173,9 +173,9 @@ int ipv6_input(FAR struct net_driver_s *dev) * we set d_len to the correct value. * * The length reported in the IPv6 header is the length of the payload - * that follows the header. The device interface uses the d_len variable for - * holding the size of the entire packet, including the IP header but without - * the link layer header. + * that follows the header. The device interface uses the d_len variable + * for holding the size of the entire packet, including the IP header but + * without the link layer header. */ pktlen = ((uint16_t)ipv6->len[0] << 8) + (uint16_t)ipv6->len[1] +