also setter code s/true/1/

This commit is contained in:
Nico Schottelius 2019-03-30 17:03:06 +01:00
parent ec40bc2c54
commit cb3b1501ef

View file

@ -57,7 +57,7 @@ control MyIngress(inout headers hdr,
/* trigger checksumming */
meta.switch_task = TASK_CHECKSUM_ICMP;
meta.chk_icmp = true;
meta.chk_icmp = 1;
hdr.icmp6.setInvalid();
@ -160,7 +160,7 @@ Echo or Echo Reply Message
hdr.icmp6.setValid();
hdr.ipv6.next_header = PROTO_ICMP6;
meta.chk_icmp6 = true;
meta.chk_icmp6 = 1;
hdr.icmp.setInvalid();
}