aboutsummaryrefslogtreecommitdiff
path: root/pcap-npf.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-11-06 15:28:30 -0700
committerGuy Harris <gharris@sonic.net>2021-11-06 15:28:30 -0700
commit63a3ba3ca4ab196b7996324fbfdaa72d0a500ead (patch)
tree1898558668c7da6aa90a5781aa91fce2f814c2fc /pcap-npf.c
parent4ba0bf4f6f2f43107f62dd742b0d5e06422276a9 (diff)
NPF: fix wrong variable name.
Diffstat (limited to 'pcap-npf.c')
-rw-r--r--pcap-npf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-npf.c b/pcap-npf.c
index 6f419a47..93be9620 100644
--- a/pcap-npf.c
+++ b/pcap-npf.c
@@ -1593,7 +1593,7 @@ pcap_create_interface(const char *device _U_, char *ebuf)
* and re-installing it, to flush
* out all older drivers.
*/
- snprintf(errbuf, PCAP_ERRBUF_SIZE,
+ snprintf(ebuf, PCAP_ERRBUF_SIZE,
"PacketGetTimestampModes() failed with ERROR_INVALID_FUNCTION; try uninstalling Npcap, and WinPcap if installed, and re-installing it from npcap.org");
pcap_close(p);
return (NULL);