Skip to content

Commit

Permalink
Fixes issue p4lang#447 and p4lang#630
Browse files Browse the repository at this point in the history
  • Loading branch information
mbudiu-vmw committed May 15, 2017
1 parent 48aecbd commit 55c39e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions testdata/p4_16_samples/issue447-bmv2.p4
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ parser parserI(packet_in pkt, out Parsed_packet hdr, inout Metadata meta, inout
}
}

control cIngress(inout Parsed_packet hdr, inout Metadata meta, inout standard_metadata_t stdmeta) {
control ingress(inout Parsed_packet hdr, inout Metadata meta, inout standard_metadata_t stdmeta) {
apply {}
}

control cEgress(inout Parsed_packet hdr, inout Metadata meta, inout standard_metadata_t stdmeta) {
control egress(inout Parsed_packet hdr, inout Metadata meta, inout standard_metadata_t stdmeta) {
apply {}
}

Expand All @@ -57,4 +57,4 @@ control uc(inout Parsed_packet hdr, inout Metadata meta) {
apply {}
}

V1Switch(parserI(), vc(), cIngress(), cEgress(), uc(), DeparserI()) main;
V1Switch(parserI(), vc(), ingress(), egress(), uc(), DeparserI()) main;
2 changes: 1 addition & 1 deletion testdata/p4_16_samples/issue447-bmv2.stf
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
packet 0 12 34 56 78 90
expect 0 12 34 90
expect 0 12 34 56 78 90

0 comments on commit 55c39e2

Please sign in to comment.