diff --git a/p4src/checksums.p4 b/p4src/checksums.p4 index 29f2f45..4537dda 100644 --- a/p4src/checksums.p4 +++ b/p4src/checksums.p4 @@ -100,7 +100,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) { // UDP header hdr.udp.src_port, hdr.udp.dst_port, - hdr.udp.payload_length, + hdr.udp.payload_length }, hdr.udp.checksum, HashAlgorithm.csum16 @@ -118,7 +118,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) { // UDP header hdr.udp.src_port, /* 16 */ hdr.udp.dst_port, /* 16 */ - hdr.udp.payload_length, /* 16 */ + hdr.udp.payload_length /* 16 */ /* all: 372 */ },