diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-14 13:03:16 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-14 13:03:16 -0700 |
commit | 4ecc0c59cafac54ff2d32e97b130f83b7481da2e (patch) | |
tree | 4c1c9ad5ef6ba38163103501a3b770a51ff57d18 /service | |
parent | 0655a1fcbe3aaae3ed5dee94ebe05edf10823b07 (diff) | |
download | infinitytier-4ecc0c59cafac54ff2d32e97b130f83b7481da2e.tar.gz infinitytier-4ecc0c59cafac54ff2d32e97b130f83b7481da2e.zip |
Plumbing through of remote trace into controller code.
Diffstat (limited to 'service')
-rw-r--r-- | service/OneService.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 1b07eb79..115830e5 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -2058,6 +2058,12 @@ public: } } break; + case ZT_EVENT_REMOTE_TRACE: { + const ZT_RemoteTrace *rt = reinterpret_cast<const ZT_RemoteTrace *>(metaData); + if ((rt)&&(rt->len > 0)&&(rt->len <= ZT_MAX_REMOTE_TRACE_SIZE)&&(rt->data)) + _controller->handleRemoteTrace(*rt); + } + default: break; } |