syntax correction

This commit is contained in:
Nico Schottelius 2019-04-03 11:56:50 +02:00
parent 2c377f2df6
commit 13e77c89f6

View file

@ -82,8 +82,8 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
hdr.ipv4.fragOffset, hdr.ipv4.fragOffset,
hdr.ipv4.ttl, hdr.ipv4.ttl,
hdr.ipv4.protocol, hdr.ipv4.protocol,
hdr.ipv4.src_addr; hdr.ipv4.src_addr,
hdr.ipv4.dst_addr; hdr.ipv4.dst_addr
}, },
hdr.ipv4.hdrChecksum, hdr.ipv4.hdrChecksum,
HashAlgorithm.csum16); HashAlgorithm.csum16);