diff --git a/p4src/checksums.p4 b/p4src/checksums.p4 index 189cdc5..29f2f45 100644 --- a/p4src/checksums.p4 +++ b/p4src/checksums.p4 @@ -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, {