Skip to content

Commit

Permalink
Added data_link_offset fix for PPPoE interfaces provided by pavm1654.
Browse files Browse the repository at this point in the history
  • Loading branch information
damienstuart committed Mar 30, 2024
1 parent d62c26c commit b1761ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/pcap_capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ pcap_capture(fko_srv_options_t *opts)
case DLT_EN10MB:
opts->data_link_offset = 14;
break;
case DLT_PPP_ETHER:
opts->data_link_offset = 8;
break;
#if defined(__linux__)
case DLT_LINUX_SLL:
opts->data_link_offset = 16;
Expand Down

0 comments on commit b1761ec

Please sign in to comment.