dect
/
libpcap
Archived
13
0
Fork 0

AIX's DLPI devices are, at least in AIX 4.3 and later, in the

"/dev/dlpi" directory, not the "/dev" directory.
This commit is contained in:
guy 2001-11-17 21:07:59 +00:00
parent e935ae5425
commit ee923fedbb
1 changed files with 5 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#ifndef lint
static const char rcsid[] =
"@(#) $Header: /tcpdump/master/libpcap/pcap-dlpi.c,v 1.72 2001-11-11 22:32:28 guy Exp $ (LBL)";
"@(#) $Header: /tcpdump/master/libpcap/pcap-dlpi.c,v 1.73 2001-11-17 21:07:59 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@ -89,8 +89,12 @@ static const char rcsid[] =
#endif
#ifndef PCAP_DEV_PREFIX
#ifdef _AIX
#define PCAP_DEV_PREFIX "/dev/dlpi"
#else
#define PCAP_DEV_PREFIX "/dev"
#endif
#endif
#define MAXDLBUF 8192