aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-null.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-null.c')
-rw-r--r--pcap-null.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/pcap-null.c b/pcap-null.c
index 0c2183d..a8e2630 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.14 2002-07-11 09:06:41 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.15 2002-12-19 09:05:47 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -78,3 +78,9 @@ pcap_setfilter(pcap_t *p, struct bpf_program *fp)
return (-1);
return (0);
}
+
+int
+pcap_set_datalink_platform(pcap_t *p, int dlt)
+{
+ return (0);
+}