dect
/
libpcap
Archived
13
0
Fork 0

Handle "iso" as a PPP link-layer type.

This commit is contained in:
guy 2000-10-28 10:28:15 +00:00
parent 195ad572d1
commit 00357a902a
1 changed files with 9 additions and 1 deletions

View File

@ -21,7 +21,7 @@
*/
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.132 2000-10-28 10:18:39 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.133 2000-10-28 10:28:15 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -822,6 +822,10 @@ gen_linktype(proto)
case ETHERTYPE_NS:
proto = PPP_NS;
break;
case LLC_ISO_LSAP:
proto = PPP_OSI;
break;
}
break;
@ -858,6 +862,10 @@ gen_linktype(proto)
case ETHERTYPE_NS:
proto = PPP_NS;
break;
case LLC_ISO_LSAP:
proto = PPP_OSI;
break;
}
break;