diff options
Diffstat (limited to 'pcap-null.c')
-rw-r--r-- | pcap-null.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/pcap-null.c b/pcap-null.c index 6be5ab4c..67f2a604 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.16 2002-12-22 02:36:49 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.17 2003-07-25 04:04:58 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -40,13 +40,6 @@ static const char rcsid[] = static char nosup[] = "live packet capture not supported on this system"; int -pcap_stats(pcap_t *p, struct pcap_stat *ps) -{ - (void)snprintf(p->errbuf, sizeof(p->errbuf), "pcap_stats: %s", nosup); - return (-1); -} - -int pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user) { (void)snprintf(p->errbuf, sizeof(p->errbuf), "pcap_read: %s", nosup); |