Try to include ingress casted value in checksumming

This commit is contained in:
Nico Schottelius 2019-03-06 17:38:43 +01:00
parent ee62eb32c3
commit 7495061f9d
1 changed files with 1 additions and 2 deletions

View File

@ -25,8 +25,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
{
hdr.ipv6.src_addr, /* 128 */
hdr.ipv6.dst_addr, /* 128 */
16w0, /* 16 try implicit cast */
hdr.ipv6.payload_length, /* 16 */
meta.cast_length, /* 32 */
24w0, /* 24 0's */
PROTO_ICMP6 /* 8 */
},