Skip to content
Snippets Groups Projects

pcapng: convert FCS lengths between bytes and bits.

The FCS length in a pcapng IDB is in bits, but the length in an EPB is in bytes; convert the latter to bits.

The FCS length in the Ethernet pseudo-header is in bytes; convert the length-in-bits to a length-in-bytes before using it to set the FCS length in the pseudo-header.

Fixes #19174 (closed).

(backported from commit a3fd4fd2)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading