mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
Wire up user message handling in OneService event handler.
This commit is contained in:
parent
d301540d92
commit
d4321cdd41
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue