diff --git a/dlls/wpcap/wpcap.c b/dlls/wpcap/wpcap.c index 0393ad15113..304cc2b394f 100644 --- a/dlls/wpcap/wpcap.c +++ b/dlls/wpcap/wpcap.c @@ -74,6 +74,12 @@ pcap_t* CDECL wine_pcap_open_live(const char *source, int snaplen, int promisc, return pcap_open_live(source, snaplen, promisc, to_ms, errbuf); } +int CDECL wine_pcap_setbuff(pcap_t * p, int dim) +{ + FIXME("(%p %i) stub\n", p, dim); + return 0; +} + int CDECL wine_pcap_stats(pcap_t *p, struct pcap_stat *ps) { TRACE("(%p %p)\n", p, ps); diff --git a/dlls/wpcap/wpcap.spec b/dlls/wpcap/wpcap.spec index 51862762a9e..4c9d5af746e 100644 --- a/dlls/wpcap/wpcap.spec +++ b/dlls/wpcap/wpcap.spec @@ -64,7 +64,7 @@ @ stub pcap_sendqueue_queue @ stub pcap_sendqueue_transmit @ stub pcap_set_datalink -@ stub pcap_setbuff +@ cdecl pcap_setbuff(ptr long) wine_pcap_setbuff @ stub pcap_setfilter @ stub pcap_setmintocopy @ stub pcap_setmode