From 1101625a0079ccf6773d8229fc9f8778febafc74 Mon Sep 17 00:00:00 2001 From: rus084 Date: Wed, 13 Dec 2023 21:48:44 +0300 Subject: [PATCH] Set CHIP_CONFIG_MDNS_RESOLVE_LOOKUP_RESULTS in linux platform (#30952) This commit makes possible to try next IP address if connection on current IP address was failed on lunux platform Now it works only on Darwin platform, because CHIP_CONFIG_MDNS_RESOLVE_LOOKUP_RESULTS is 5 on this platform. But in linux platform it doesnt work --- src/platform/Linux/SystemPlatformConfig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/Linux/SystemPlatformConfig.h b/src/platform/Linux/SystemPlatformConfig.h index 8edc16c1c00307..21495f93a38b82 100644 --- a/src/platform/Linux/SystemPlatformConfig.h +++ b/src/platform/Linux/SystemPlatformConfig.h @@ -41,3 +41,4 @@ struct ChipDeviceEvent; #define CHIP_SYSTEM_CONFIG_POOL_USE_HEAP 1 // ========== Platform-specific Configuration Overrides ========= +#define CHIP_CONFIG_MDNS_RESOLVE_LOOKUP_RESULTS 5