]> The Tcpdump Group git mirrors - libpcap/commit
linux: reserve space for DLT_LINUX_SLL2 on all cooked captures.
authorGuy Harris <[email protected]>
Wed, 13 Apr 2022 23:16:08 +0000 (16:16 -0700)
committerGuy Harris <[email protected]>
Wed, 13 Apr 2022 23:16:39 +0000 (16:16 -0700)
commitc47df96974748353b6ad728227b53083960c4113
tree7ee45c0d4ac64f24f2026a7dd8b41ec66276bd17
parent42eb0a626a4d7ef155099817ea2fc0b9c685a04f
linux: reserve space for DLT_LINUX_SLL2 on all cooked captures.

Don't just do it if we're using DLT_LINUX_SLL2 up front; that can be
changed by the software using libpcap at any point.

(cherry picked from commit 17a48ca162de1a6d40a3b767eb318c2899666eb4)
pcap-linux.c