Try to include ingress casted value in checksumming
This commit is contained in:
parent
ee62eb32c3
commit
7495061f9d
1 changed files with 1 additions and 2 deletions
|
@ -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 */
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue