aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-null.c
diff options
context:
space:
mode:
authorguy <guy>2003-07-25 05:07:01 +0000
committerguy <guy>2003-07-25 05:07:01 +0000
commit08658f1c932c872f1d920e72e62d200471bd80d0 (patch)
tree031ba9d0daaad5784b85e109838cbc0adadbdf36 /pcap-null.c
parentcd2807e08d02de68b766ed88acf3bfd3b54b2a24 (diff)
Add a "set_datalink" function pointer to the pcap_t structure, whichhandles
setting a filter for a pcap_t. Have "pcap_set_datalink()" call it, rather than explicitly calling "pcap_set_datalink_platform()".
Diffstat (limited to 'pcap-null.c')
-rw-r--r--pcap-null.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/pcap-null.c b/pcap-null.c
index 6f6788d..013185a 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.18 2003-07-25 04:42:03 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-null.c,v 1.19 2003-07-25 05:07:02 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -59,9 +59,3 @@ pcap_platform_finddevs(pcap_if_t **alldevsp, char *errbuf)
{
return (0);
}
-
-int
-pcap_set_datalink_platform(pcap_t *p, int dlt)
-{
- return (0);
-}