mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix incorrect macro definition for eth_handle_close on Windows
This commit is contained in:
parent
6637d76846
commit
b6c3989259
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue