From e56e388645a5d65edd525b393c904513c5bd8643 Mon Sep 17 00:00:00 2001 From: Ingo Fischer Date: Fri, 22 Nov 2024 12:20:29 +0100 Subject: [PATCH] Cut network name to 32 in legacy Server (#1422) ... was missed --- .../matter.js/src/cluster/server/GeneralDiagnosticsServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/matter.js/src/cluster/server/GeneralDiagnosticsServer.ts b/packages/matter.js/src/cluster/server/GeneralDiagnosticsServer.ts index 8d5da15216..2cc94ae411 100644 --- a/packages/matter.js/src/cluster/server/GeneralDiagnosticsServer.ts +++ b/packages/matter.js/src/cluster/server/GeneralDiagnosticsServer.ts @@ -60,7 +60,7 @@ export const GeneralDiagnosticsClusterHandler: () => Promise< .filter(({ mac }) => mac !== "00:00:00:00:00:00") .slice(0, 8) .map(({ name, mac, ipV4, ipV6, type }) => ({ - name, + name: name.substring(0, 32), isOperational: true, offPremiseServicesReachableIPv4: null, // null means unknown or not supported offPremiseServicesReachableIPv6: null, // null means unknown or not supported