Try to prevent underrun / possible off by one
Checking for bigger value
This commit is contained in:
parent
86885760b2
commit
7599ebb89d
3 changed files with 18 additions and 13 deletions
|
|
@ -15,6 +15,7 @@
|
|||
meta.chk_tcp_v4 = 0;
|
||||
meta.v4sum = 0;
|
||||
meta.v6sum = 0;
|
||||
meta.headerdiff = 0;
|
||||
|
||||
packet.extract(hdr.ethernet);
|
||||
transition select(hdr.ethernet.ethertype){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue