From 4508c70ba686df65b79174dbfea3840f998c05d1 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <contini.mailing@gmail.com> Date: 周日, 26 4月 2020 19:22:44 +0800 Subject: [PATCH] better vm detection --- 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