This commit is contained in:
Nico Schottelius 2019-04-11 10:10:39 +02:00
parent bf59808806
commit e26c348e71

View file

@ -86,7 +86,8 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
hdr.ipv4.dst_addr
},
hdr.ipv4.hdrChecksum,
HashAlgorithm.csum16);
HashAlgorithm.csum16
);
update_checksum_with_payload(meta.chk_udp_v4 == 1,
{