]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix error message to reflect what was attempted.
authorGuy Harris <[email protected]>
Tue, 14 Apr 2020 18:05:09 +0000 (11:05 -0700)
committerGuy Harris <[email protected]>
Tue, 14 Apr 2020 18:05:09 +0000 (11:05 -0700)
pcap-npf.c

index 9e3e34baf1047fdcedd5cbff98b1963ea6071ffd..2eae56b37bc6e25df316dd80e87188cd2a393a6d 100644 (file)
@@ -392,7 +392,7 @@ pcap_sendqueue_transmit_npf(pcap_t *p, pcap_send_queue *queue, int sync)
 
        if(res != queue->len){
                pcap_fmt_errmsg_for_win32_err(p->errbuf, PCAP_ERRBUF_SIZE,
-                   GetLastError(), "Error opening adapter");
+                   GetLastError(), "Error queueing packets");
        }
 
        return (res);