diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-07 14:59:18 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-11-07 14:59:18 -0800 |
| commit | cb550ab4fecbcfbdb55d8298506572fdeeff97d6 (patch) | |
| tree | 4a60a348ac54bbc62e4452a682b35db7eee87438 /service/OneService.cpp | |
| parent | 1613f42d0082cf6438ad0c62d89405ab82625f98 (diff) | |
| parent | b8cbf08617a1d461617a1182331139197cb68f66 (diff) | |
| download | infinitytier-cb550ab4fecbcfbdb55d8298506572fdeeff97d6.tar.gz infinitytier-cb550ab4fecbcfbdb55d8298506572fdeeff97d6.zip | |
Merge branch 'dev' into edge
Diffstat (limited to 'service/OneService.cpp')
| -rw-r--r-- | service/OneService.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/service/OneService.cpp b/service/OneService.cpp index 66cb708d..b767dea8 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -99,7 +99,7 @@ namespace ZeroTier { typedef TestEthernetTap EthernetTap; } #include "../controller/EmbeddedNetworkController.hpp" #include "../node/Node.hpp" // Use the virtual netcon endpoint instead of a tun/tap port driver -#include "../src/VirtualTap.hpp" +#include "../include/VirtualTap.h" namespace ZeroTier { typedef VirtualTap EthernetTap; } #else @@ -920,14 +920,14 @@ public: } #ifdef ZT_SDK - virtual void leave(const char *hp) + virtual void leave(const uint64_t hp) { - _node->leave(Utils::hexStrToU64(hp),NULL,NULL); + _node->leave(hp, NULL, NULL); } - virtual void join(const char *hp) + virtual void join(const uint64_t hp) { - _node->join(Utils::hexStrToU64(hp),NULL,NULL); + _node->join(hp, NULL, NULL); } virtual std::string givenHomePath() |
