mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Wire up user message handling in OneService event handler.
This commit is contained in:
parent
d301540d92
commit
d4321cdd41
@ -1477,6 +1477,13 @@ public:
|
||||
}
|
||||
} break;
|
||||
|
||||
case ZT_EVENT_USER_MESSAGE: {
|
||||
const ZT_UserMessage *um = reinterpret_cast<const ZT_UserMessage *>(metaData);
|
||||
if ((um->typeId == ZT_SOFTWARE_UPDATE_USER_MESSAGE_TYPE)&&(_updater)) {
|
||||
_updater->handleSoftwareUpdateUserMessage(um->origin,um->data,um->length);
|
||||
}
|
||||
} break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user