typo
This commit is contained in:
parent
0adfa09090
commit
1d19366e15
3 changed files with 4 additions and 4 deletions
2
dhcp6.c
2
dhcp6.c
|
|
@ -254,7 +254,7 @@ static void dhcp6_send_reply(sessionidt s, tunnelidt t, struct in6_addr *ip6_src
|
|||
len = ((uint8_t *) p_opt) - ((uint8_t *) p_udp);
|
||||
p_ip6_hdr->ip6_plen = p_udp->len = htons(len);
|
||||
|
||||
/* Use pseudo hearder for checksum calculation */
|
||||
/* Use pseudo-header for checksum calculation */
|
||||
memset(&pseudo_hdr, 0, sizeof(pseudo_hdr));
|
||||
memcpy(&pseudo_hdr.src, &p_ip6_hdr->ip6_src, 16);
|
||||
memcpy(&pseudo_hdr.dest, &p_ip6_hdr->ip6_dst, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue