1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-15 02:49:02 +00:00

Fix incorrect Packet.dll function name

This commit is contained in:
dmiller
2022-08-29 16:12:38 +00:00
parent 1f50e82dd2
commit cd992b995b
2 changed files with 4 additions and 4 deletions

View File

@@ -216,7 +216,7 @@ void win_init()
__try
#endif
{
char *pcap_ver = NULL;
const char *pcap_ver = NULL;
o.have_pcap = true;
if(o.debugging > 2) printf("Trying to initialize Windows pcap engine\n");
@@ -235,7 +235,7 @@ void win_init()
init_npcap_dll_path();
pcap_ver = PacketGetLibraryVersion();
pcap_ver = PacketGetVersion();
if (o.debugging)
printf("Packet.dll present, library version %s\n", pcap_ver);

View File

@@ -214,7 +214,7 @@ void win_init()
__try
#endif
{
char *pcap_ver = NULL;
const char *pcap_ver = NULL;
if(o.getDebugging() >= DBG_2) printf("Trying to initialize Windows pcap engine\n");
@@ -232,7 +232,7 @@ void win_init()
init_npcap_dll_path();
pcap_ver = PacketGetLibraryVersion();
pcap_ver = PacketGetVersion();
if (o.getDebugging() >= DBG_1)
printf("Packet.dll present, library version %s\n", pcap_ver);