From 18dda475275547fd920f1b4dc71525a470f8df0f Mon Sep 17 00:00:00 2001 From: lomasSE89 Date: Mon, 5 Feb 2024 13:02:32 +0545 Subject: [PATCH] fixed mac address. --- ezlopi-core/ezlopi-core-factory-info/ezlopi_core_factory_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezlopi-core/ezlopi-core-factory-info/ezlopi_core_factory_info.c b/ezlopi-core/ezlopi-core-factory-info/ezlopi_core_factory_info.c index d0b860461..90ce07bd4 100644 --- a/ezlopi-core/ezlopi-core-factory-info/ezlopi_core_factory_info.c +++ b/ezlopi-core/ezlopi-core-factory-info/ezlopi_core_factory_info.c @@ -385,7 +385,7 @@ char *ezlopi_factory_info_v3_get_password(void) char *ezlopi_factory_info_v3_get_ezlopi_mac(void) { - char *read_data = ezlopi_factory_info_v3_read_string(ezlopi_factory_info_v3_get_abs_address(EZLOPI_FINFO_REL_OFFSET_DEVICE_MAC, E_EZLOPI_FACTORY_INFO_CONN_DATA), EZLOPI_FINFO_LEN_DEVICE_MAC); + char *read_data = ezlopi_factory_info_v3_read_string(ezlopi_factory_info_v3_get_abs_address(EZLOPI_FINFO_REL_OFFSET_DEVICE_MAC, E_EZLOPI_FACTORY_INFO_HUB_DATA), EZLOPI_FINFO_LEN_DEVICE_MAC); if (read_data) { if (!isprint(read_data[0]))