Fix incorrect macro definition for eth_handle_close on Windows

This commit is contained in:
dmiller 2025-07-15 17:48:34 +00:00
parent 6637d76846
commit b6c3989259

View file

@ -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