fix(mdns): Fix API races setting instance name for services

Fixes **API race issue** (described in 8a690503) for API
mdns_service_instance_name_set_for_host()
This commit is contained in:
David Cermak committed 2024-08-19 12:38:35 +02:00
1 parent f9f234c440
commit 643dc6d43b
2 files changed
+28 -56

No files matched your search

@@ -187,7 +187,6 @@ typedef enum {
ACTION_SYSTEM_EVENT,
ACTION_HOSTNAME_SET,
ACTION_INSTANCE_SET,
ACTION_SERVICE_INSTANCE_SET,
ACTION_SERVICES_CLEAR,
ACTION_SEARCH_ADD,
ACTION_SEARCH_SEND,
@@ -439,10 +438,6 @@ typedef struct {
mdns_if_t interface;
mdns_event_actions_t event_action;
} sys_event;
struct {
mdns_srv_item_t *service;
char *instance;
} srv_instance;
struct {
mdns_search_once_t *search;
} search_add;