Skip to content

Commit

Permalink
fix verification error
Browse files Browse the repository at this point in the history
  • Loading branch information
jcp19 committed Jul 9, 2024
1 parent a2c867b commit a61cd9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/slayers/path/scion/raw_spec.gobra
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,8 @@ pure func validPktMetaHdr(raw []byte) bool {
let seg3 := int(metaHdr.SegLen[2]) in
let segs := io.CombineSegLens(seg1, seg2, seg3) in
let base := RawBytesToBase(raw) in
0 < metaHdr.SegLen[0] &&
base.StronglyValid() &&
base.CurrInfMatchesCurrHFSpec() &&
0 < metaHdr.SegLen[0] &&
base.FullyValid() &&
PktLen(segs, MetaLen) <= len(raw)
}

Expand Down

0 comments on commit a61cd9c

Please sign in to comment.