mesh/health_server: set src in health fault status

This commit is contained in:
Matthias Ringwald 2019-10-30 11:46:46 +01:00
parent 1f148aea63
commit 18785c4eb2

View File

@ -222,7 +222,7 @@ void mesh_health_server_report_test_done(uint16_t element_index, uint16_t dest,
mesh_transport_pdu_t * transport_pdu = (mesh_transport_pdu_t *) health_fault_status(mesh_model, MESH_FOUNDATION_OPERATION_HEALTH_FAULT_STATUS, company_id, company_id);
if (!transport_pdu) return;
health_server_send_message(element_index, dest, netkey_index, appkey_index, (mesh_pdu_t *) transport_pdu);
health_server_send_message(mesh_node_get_primary_element_address() + element_index, dest, netkey_index, appkey_index, (mesh_pdu_t *) transport_pdu);
mesh_access_message_processed(processed_pdu);
}