s/layer/field/

This commit is contained in:
Nico Schottelius 2019-03-19 23:23:54 +01:00
commit 492888fd2f
2 changed files with 2 additions and 2 deletions

View file

@ -292,7 +292,7 @@ control MyEgress(inout headers hdr,
hdr.cpu.setValid();
hdr.cpu.task = meta.task;
hdr.cpu.ethertype = hdr.ethernet.ethertype;
hdr.cpu.ingress_port = (bit<16>)meta.ingress_port;
hdr.cpu.ingress_port = (bit<16>) meta.ingress_port;
hdr.ethernet.ethertype = TYPE_CPU;
}