From c0384f49626e9d8b0d22478310d40e20104c158f Mon Sep 17 00:00:00 2001 From: Tcharp38 Date: Thu, 3 Oct 2024 10:43:41 +0200 Subject: [PATCH] Mgmt LQI req: parser list only those in current Ext PANID --- core/class/AbeilleParser.class.php | 3 ++- docs/fr_FR/Changelog.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/core/class/AbeilleParser.class.php b/core/class/AbeilleParser.class.php index 13538abd4..8c190085a 100755 --- a/core/class/AbeilleParser.class.php +++ b/core/class/AbeilleParser.class.php @@ -2344,7 +2344,7 @@ function decode8002_MgmtLqiRsp($dest, $srcAddr, $pl) { 'srcAddr' => $srcAddr, 'status' => $status, 'tableEntries' => $nTableEntries, - 'tableListCount' => $nTableListCount, + 'tableListCount' => 0, // Returning only nb in the current extended PAN ID 'startIdx' => $startIdx, 'nList' => [] ); @@ -2395,6 +2395,7 @@ function decode8002_MgmtLqiRsp($dest, $srcAddr, $pl) { "lqi" => substr($pl, $j + 42, 2), ); $nList[] = $N; // Add to neighbors list + $toLqiCollector['tableListCount']++; parserLog2('debug', $srcAddr, ' NExtPANId='.$N['extPANId'] .', NExtAddr='.$N['extAddr'] .', NAddr='.$N['addr'] diff --git a/docs/fr_FR/Changelog.md b/docs/fr_FR/Changelog.md index a924570b4..6c11c09cf 100644 --- a/docs/fr_FR/Changelog.md +++ b/docs/fr_FR/Changelog.md @@ -9,6 +9,7 @@ - Amélioration interne: Description clusters 0000 & 0001 pour profile ID 0000. - Amélioration: Page infos clefs: Ajout 'Extended PAN ID'. - Correction interne: AbeilleCmdQueue. +- Correction interne: Parser: Ne prend en compte que voisins dans reseau courant (Mgmt_lqi_rsp). ## 240920-BETA-3