Patch from Igor Khristophorov <igor@atdot.org> to handle adaptive SLIP
interfaces on Linux just like standard SLIP interfaces.
This commit is contained in:
parent
1ae6bd52d5
commit
a6e177c611
1
CREDITS
1
CREDITS
|
@ -18,6 +18,7 @@ Additional people who have contributed patches:
|
|||
Chris G. Demetriou <cgd@netbsd.org>
|
||||
Darren Reed <darrenr@reed.wattle.id.au>
|
||||
Greg Troxel <gdt@ir.bbn.com>
|
||||
Igor Khristophorov <igor@atdot.org>
|
||||
Jefferson Ogata <jogata@nodc.noaa.gov>
|
||||
Juergen Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
|
||||
Lorenzo Cavallaro <sullivan@sikurezza.org>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue