Accept in sub-parser
This commit is contained in:
parent
4eabf8cc38
commit
89161e260e
1 changed files with 4 additions and 3 deletions
|
@ -35,9 +35,10 @@ parser RealParser(
|
|||
inout sume_metadata_t standard_metadata) {
|
||||
|
||||
state start {
|
||||
packet.extract(hdr.ethernet);
|
||||
meta.unused = 0;
|
||||
digest_data.unused = 0;
|
||||
packet.extract(hdr.ethernet);
|
||||
meta.unused = 0;
|
||||
digest_data.unused = 0;
|
||||
transition accept;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue