From: guy Date: Sat, 20 Jan 2001 07:47:53 +0000 (+0000) Subject: Patch from Igor Khristophorov to handle adaptive SLIP X-Git-Tag: libpcap-0.7.1~100 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/a6e177c611b8b6412ce31bbd8cb9f69ddb7d9d21 Patch from Igor Khristophorov to handle adaptive SLIP interfaces on Linux just like standard SLIP interfaces. --- diff --git a/CREDITS b/CREDITS index 57972372..7e9b75b8 100644 --- a/CREDITS +++ b/CREDITS @@ -18,6 +18,7 @@ Additional people who have contributed patches: Chris G. Demetriou Darren Reed Greg Troxel + Igor Khristophorov Jefferson Ogata Juergen Schoenwaelder Lorenzo Cavallaro diff --git a/pcap-linux.c b/pcap-linux.c index ff0eef69..2711951c 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -26,7 +26,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.54 2001-01-18 03:58:22 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.55 2001-01-20 07:47:54 guy Exp $ (LBL)"; #endif /* @@ -632,6 +632,7 @@ static int map_arphrd_to_dlt(int arptype) case ARPHRD_CSLIP: case ARPHRD_SLIP6: case ARPHRD_CSLIP6: + case ARPHRD_ADAPT: case ARPHRD_SLIP: return DLT_RAW; }