From 243b20ec553e192599e5280f17703454b4420fe0 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 11 Jul 2002 09:06:30 +0000 Subject: Add SunATM support, based on code from Yen Yen Lim at North Dakota State University. --- pcap-null.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pcap-null.c') diff --git a/pcap-null.c b/pcap-null.c index e952c98..0c2183d 100644 --- a/pcap-null.c +++ b/pcap-null.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.13 2000-10-28 00:01:29 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.14 2002-07-11 09:06:41 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -60,6 +60,12 @@ pcap_open_live(char *device, int snaplen, int promisc, int to_ms, char *ebuf) return (NULL); } +int +pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf) +{ + return (0); +} + int pcap_setfilter(pcap_t *p, struct bpf_program *fp) { -- cgit v1.2.3