--- tcpip.c.orig Tue Aug 3 00:29:31 1999 +++ tcpip.c Wed Sep 1 12:12:30 1999 @@ -773,6 +773,7 @@ switch(datalink) { case DLT_EN10MB: offset = 14; break; case DLT_IEEE802: offset = 22; break; + case DLT_LOOP: case DLT_NULL: offset = 4; break; case DLT_SLIP: #ifdef DLT_SLIP_BSDOS @@ -799,6 +800,7 @@ #endif /* if freebsd || openbsd || netbsd || bsdi */ break; case DLT_RAW: offset = 0; break; + case DLT_ENC: offset = 12; break; default: fatal("Unknown datalink type (%d)", datalink); }