another meta fix

This commit is contained in:
Nico Schottelius 2019-07-10 13:44:04 +02:00
parent 7cec2b635d
commit a370fcbb6c

View file

@ -194,7 +194,7 @@ control MyIngress(inout headers hdr,
#ifdef NICO_DELTA_CHECKSUM
v4sum();
v6sum();
bit<16> diff = hdr.meta.v6sum - hdr.meta.v4sum;
bit<16> diff = meta.v6sum - meta.v4sum;
hdr.udp.checksum = hdr.udp.checksum + diff;
#else