Cut-and-pasteo fix, from Greg Stark <gsstark@mit.edu>.
This commit is contained in:
parent
243b20ec55
commit
9e6fbe3b4b
1
CREDITS
1
CREDITS
|
@ -22,6 +22,7 @@ Additional people who have contributed patches:
|
||||||
David Kaelbling <drk@sgi.com>
|
David Kaelbling <drk@sgi.com>
|
||||||
Franz Schaefer <schaefer@mond.at>
|
Franz Schaefer <schaefer@mond.at>
|
||||||
Graeme Hewson <ghewson@cix.compulink.co.uk>
|
Graeme Hewson <ghewson@cix.compulink.co.uk>
|
||||||
|
Greg Stark <gsstark@mit.edu>
|
||||||
Greg Troxel <gdt@ir.bbn.com>
|
Greg Troxel <gdt@ir.bbn.com>
|
||||||
Hyung Sik Yoon <hsyn@kr.ibm.com>
|
Hyung Sik Yoon <hsyn@kr.ibm.com>
|
||||||
Igor Khristophorov <igor@atdot.org>
|
Igor Khristophorov <igor@atdot.org>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static const char rcsid[] =
|
static const char rcsid[] =
|
||||||
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.83 2002-07-11 09:06:38 guy Exp $ (LBL)";
|
"@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.84 2002-07-12 07:51:15 guy Exp $ (LBL)";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -744,7 +744,7 @@ static const char any_descr[] = "Pseudo-device that captures on all interfaces";
|
||||||
int
|
int
|
||||||
pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
|
pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
|
||||||
{
|
{
|
||||||
if (pcap_add_if(&devlist, "any", 0, any_descr, errbuf) < 0)
|
if (pcap_add_if(alldevsp, "any", 0, any_descr, errbuf) < 0)
|
||||||
return (-1);
|
return (-1);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
|
|
Reference in New Issue