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:
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user