Skip to content

Commit

Permalink
Merge pull request wmnsk#42 from ajamshed/patch-1
Browse files Browse the repository at this point in the history
Fix OuterHeaderCreation parse initial offset
  • Loading branch information
wmnsk authored Jul 5, 2020
2 parents 2435c5c + 8409b32 commit be1dd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ie/outer-header-creation.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (f *OuterHeaderCreationFields) UnmarshalBinary(b []byte) error {
}

f.OuterHeaderCreationDescription = binary.BigEndian.Uint16(b[0:2])
offset := 3
offset := 2

oct5 := b[0]
if has1stBit(oct5) || has2ndBit(oct5) {
Expand Down

0 comments on commit be1dd14

Please sign in to comment.