This commit is contained in:
Nico Schottelius 2019-02-23 21:07:05 +01:00
parent a5c8be40be
commit 3fecfad989

View file

@ -29,7 +29,7 @@ control MyComputeChecksum(inout headers hdr, inout metadata meta) {
hdr.ipv6.payload_length, /* 16 -> should be 32 according to RFC2460 - also static number? */
24w0, /* 24 0's */
PROTO_ICMP6 /* 8 */
}
},
hdr.icmp6.checksum,
HashAlgorithm.csum16);
}