Update comments

This commit is contained in:
Gregory Nutt 2017-01-18 07:53:28 -06:00
parent 9f7d332028
commit 518d19c0be
1 changed files with 3 additions and 3 deletions

View File

@ -173,9 +173,9 @@ int ipv6_input(FAR struct net_driver_s *dev)
* we set d_len to the correct value. * we set d_len to the correct value.
* *
* The length reported in the IPv6 header is the length of the payload * 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 * that follows the header. The device interface uses the d_len variable
* holding the size of the entire packet, including the IP header but without * for holding the size of the entire packet, including the IP header but
* the link layer header. * without the link layer header.
*/ */
pktlen = ((uint16_t)ipv6->len[0] << 8) + (uint16_t)ipv6->len[1] + pktlen = ((uint16_t)ipv6->len[0] << 8) + (uint16_t)ipv6->len[1] +