19 lines
495 B
Plaintext
19 lines
495 B
Plaintext
--- tcpip.c.orig Mon Nov 8 03:10:35 1999
|
|
+++ tcpip.c Sun Nov 21 18:34:54 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
|
|
@@ -800,6 +801,7 @@
|
|
break;
|
|
case DLT_RAW: offset = 0; break;
|
|
case DLT_FDDI: offset = 21; break;
|
|
+ case DLT_ENC: offset = 12; break;
|
|
default: fatal("Unknown datalink type (%d)", datalink);
|
|
}
|
|
|