From 00357a902a64f885eeee52476ef0f45a2863ec28 Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 28 Oct 2000 10:28:15 +0000 Subject: [PATCH] Handle "iso" as a PPP link-layer type. --- gencode.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gencode.c b/gencode.c index f41ac66..5e458e2 100644 --- a/gencode.c +++ b/gencode.c @@ -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;