Compare the right field

This commit is contained in:
Nico Schottelius 2019-03-30 16:59:32 +01:00
parent bfd4a35942
commit 9f5b9fb0c9

View file

@ -37,7 +37,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
);
/* checksumming for icmp6_na_ns_option */
update_checksum_with_payload(meta.switch_task == true,
update_checksum_with_payload(meta.chk_icmp6_na_ns == true,
{
hdr.ipv6.src_addr, /* 128 */
hdr.ipv6.dst_addr, /* 128 */