mirror of
https://github.com/nmap/nmap.git
synced 2026-01-06 06:29:03 +00:00
Fix incorrect macro definition for eth_handle_close on Windows
This commit is contained in:
@@ -975,7 +975,7 @@ int netutil_eth_datalink(const netutil_eth_t *e) {
|
||||
#ifdef WIN32
|
||||
#define eth_handle(_eth) (_eth->pt)
|
||||
#define eth_handle_send pcap_inject
|
||||
#define eth_handle_close eth_close
|
||||
#define eth_handle_close pcap_close
|
||||
#else
|
||||
#define eth_handle(_eth) (_eth->ethsd)
|
||||
#define eth_handle_send eth_send
|
||||
|
||||
Reference in New Issue
Block a user