refactor
This commit is contained in:
parent
ea1873c14c
commit
cfa3e3ecbc
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ control MyEgress(inout headers hdr,
|
|||
inout standard_metadata_t standard_metadata) {
|
||||
apply {
|
||||
// ingress clone
|
||||
if (standard_metadata.instance_type == 1 && meta.ether_modified == 1){
|
||||
if (standard_metadata.instance_type == 1){
|
||||
hdr.cpu.setValid();
|
||||
hdr.cpu.task = meta.task;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue