mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 13:03:45 +02:00
cleanup
This commit is contained in:
parent
07cb62a503
commit
2751a6d56d
1 changed files with 2 additions and 1 deletions
|
@ -43,6 +43,7 @@
|
||||||
#include "../node/MulticastGroup.hpp"
|
#include "../node/MulticastGroup.hpp"
|
||||||
#include "../node/Mutex.hpp"
|
#include "../node/Mutex.hpp"
|
||||||
#include "../node/Utils.hpp"
|
#include "../node/Utils.hpp"
|
||||||
|
#include "../osdep/OSUtils.hpp"
|
||||||
|
|
||||||
namespace ZeroTier {
|
namespace ZeroTier {
|
||||||
|
|
||||||
|
@ -66,7 +67,7 @@ public:
|
||||||
_enabled(true)
|
_enabled(true)
|
||||||
{
|
{
|
||||||
char tmp[32];
|
char tmp[32];
|
||||||
Utils::snprintf(tmp,sizeof(tmp),"%.16llx",(unsigned long long)_nwid);
|
OSUtils::ztsnprintf(tmp,sizeof(tmp),"%.16llx",(unsigned long long)_nwid);
|
||||||
_dev.append(tmp);
|
_dev.append(tmp);
|
||||||
#ifdef ZT_TEST_TAP_REPORT_TO
|
#ifdef ZT_TEST_TAP_REPORT_TO
|
||||||
_reportTo.fromString(ZT_TEST_TAP_REPORT_TO);
|
_reportTo.fromString(ZT_TEST_TAP_REPORT_TO);
|
||||||
|
|
Loading…
Add table
Reference in a new issue