another meta fix
This commit is contained in:
parent
7cec2b635d
commit
a370fcbb6c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue