From 2d2b89c134a735d8b85cf974231a903ec58aec14 Mon Sep 17 00:00:00 2001 From: Shahar Hadas <shaharhd@gmail.com> Date: 周日, 10 5月 2020 19:18:01 +0800 Subject: [PATCH] Fix network detection for Windows OS (#94) --- src/library/hw_identifier/ethernet.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/library/hw_identifier/ethernet.cpp b/src/library/hw_identifier/ethernet.cpp index bd21bc9..55b5197 100644 --- a/src/library/hw_identifier/ethernet.cpp +++ b/src/library/hw_identifier/ethernet.cpp @@ -54,7 +54,7 @@ Ethernet::~Ethernet() {} -LCC_API_IDENTIFICATION_STRATEGY Ethernet::identification_strategy() const { +LCC_API_HW_IDENTIFICATION_STRATEGY Ethernet::identification_strategy() const { return use_ip ? STRATEGY_IP_ADDRESS : STRATEGY_ETHERNET; } -- Gitblit v1.9.1