mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-17 22:58:22 +00:00
Minor changes to SDK-related portions of OneService
This commit is contained in:
@ -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
|
||||
@ -916,14 +916,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()
|
||||
|
Reference in New Issue
Block a user