Parent: 39260c3cfa056321feaf1d49fe8db92e17b386f0
Author: Inga Stotland <inga.stotland@gmail.com>
Committer: Brian Gix <brian.gix@gmail.com>
Date: 2023-03-17 22:27:14
Tree: 983628aedca7af46d978f832c20b11570b6c8282
tools/mesh-cfgclient: Prevent storing duplicate models This fixes the situation when subsequent requests to get a node composition result in appending element's model list with duplicate models. This adds a check for a presence of a model on an element when attempting to add a new model ID to a model list on this element.
Diffstat
| M | tools/mesh/mesh-db.c | | | 17 | ++++++++++++- - - - - |
| M | tools/mesh/remote.c | | | 9 | +++++++++ |
2 files changed, 21 insertions(+), 5 deletions(-)