syntax correct

This commit is contained in:
Nico Schottelius 2019-03-06 19:52:27 +01:00
parent 60a84af033
commit decb0c516d
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
{
hdr.ipv6.src_addr, /* 128 */
hdr.ipv6.dst_addr, /* 128 */
meta.cast_length = (bit<32>) hdr.ipv6.payload_length;
(bit<32>) hdr.ipv6.payload_length,
24w0, /* 24 0's */
PROTO_ICMP6 /* 8 */
},