s/layer/field/
This commit is contained in:
parent
2a623a0807
commit
492888fd2f
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue