Skip to content
Snippets Groups Projects
Commit e032cda5 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #2998 from authmillenon/ng_icmpv6/fix/preset-csum-field

ng_icmpv6: pre-set checksum field to 0 for sending
parents 856c951d 87cf9366
No related branches found
No related tags found
No related merge requests found
......@@ -144,6 +144,7 @@ ng_pktsnip_t *ng_icmpv6_build(ng_pktsnip_t *next, uint8_t type, uint8_t code,
icmpv6 = (ng_icmpv6_hdr_t *)pkt->data;
icmpv6->type = type;
icmpv6->code = code;
icmpv6->csum.u16 = 0;
return pkt;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment