diff options
Diffstat (limited to 'pcap-null.c')
-rw-r--r-- | pcap-null.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pcap-null.c b/pcap-null.c index e53f196a..e60cdd0f 100644 --- a/pcap-null.c +++ b/pcap-null.c @@ -46,11 +46,12 @@ pcap_platform_finddevs(pcap_if_list_t *devlistp, char *errbuf) } #ifdef _WIN32 -char * -pcap_lookupdev(char *errbuf) +int +pcap_lookupnet(const char *device _U_, bpf_u_int32 *netp _U_, + bpf_u_int32 *maskp _U_, char *errbuf) { (void)strlcpy(errbuf, nosup, PCAP_ERRBUF_SIZE); - return (NULL); + return (-1); } #endif |