Index: gencode.c =================================================================== RCS file: /cvs/src/lib/libpcap/gencode.c,v retrieving revision 1.52 diff -u -p -r1.52 gencode.c --- gencode.c 9 Dec 2018 15:07:06 -0000 1.52 +++ gencode.c 20 Jul 2020 23:59:44 -0000 @@ -770,7 +770,7 @@ init_linktype(type) return; case DLT_LOOP: - off_linktype = -1; + off_linktype = 0; off_nl = 4; return;