Skip to content

Commit

Permalink
#502 packet size either incl_len OR snaplen
Browse files Browse the repository at this point in the history
  • Loading branch information
sastafford authored and GreyCat committed Oct 15, 2023
1 parent 856d1c4 commit 6ffffd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/pcap.ksy
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ types:
type: u4
doc: Length of the packet as it appeared on the network when it was captured.
- id: body
size: incl_len
size: "incl_len < _root.hdr.snaplen ? incl_len : _root.hdr.snaplen"
type:
switch-on: _root.hdr.network
cases:
Expand Down

0 comments on commit 6ffffd5

Please sign in to comment.