---
mesh/config-server.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/mesh/config-server.c b/mesh/config-server.c
index 8a88645e4..938ec2275 100644
--- a/mesh/config-server.c
+++ b/mesh/config-server.c
@@ -141,10 +141,17 @@ static bool server_msg_recvd(uint16_t src, uint8_t *data,
break;
}
+ if (!n)
+ return true;
+
primary = node_get_primary(node);
- if (n && src != primary)
+ if (src != primary)
net_access_layer_send(node_get_default_ttl(node), primary,
src, APP_IDX_DEV, msg, n);
+ else
+ node_local_data_handler(primary, src, node_get_iv_index(node),
+ node_get_sequence_number(node),
+ APP_IDX_DEV, msg, n);
return true;
}
--
2.13.6
Hi Inga,
On Mon, Oct 30, 2017, Inga Stotland wrote:
> ---
> mesh/config-server.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Applied. Thanks.
Johan