capture: add support for DLT_LINUX_SLL2 link type #402

This commit is contained in:
Kaian 2022-05-30 11:34:18 +02:00
parent f64df86647
commit 600511fd0d
1 changed files with 4 additions and 0 deletions

View File

@ -1248,6 +1248,10 @@ datalink_size(int datalink)
case DLT_LINUX_SLL:
return 16;
#endif
#ifdef DLT_LINUX_SLL2
case DLT_LINUX_SLL2:
return 20;
#endif
#ifdef DLT_IPNET
case DLT_IPNET:
return 24;