From 809cdc40bea9633c0fccbd4362e9a490d51a1a8f Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Sun, 2 Jul 2023 18:35:44 -0700 Subject: [PATCH] [ncp] keep timeout zero during ramp-down in spinel `ADDRESS_CACHE_TABLE` (#9247) This commit updates the NCP code to set the timeout field in spinel `SPINEL_PROP_THREAD_ADDRESS_CACHE_TABLE` as zero when in ramp-down mode. This ensures that the behavior of the NCP remains unchanged and that test cases like `ncp/test-039-address-cache-table-snoop.py`, which expect the timeout to reach zero, to pass. --- src/ncp/ncp_base_ftd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ncp/ncp_base_ftd.cpp b/src/ncp/ncp_base_ftd.cpp index fb763c449..2ba875165 100644 --- a/src/ncp/ncp_base_ftd.cpp +++ b/src/ncp/ncp_base_ftd.cpp @@ -1210,7 +1210,7 @@ template <> otError NcpBase::HandlePropertyGet