summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-09 12:31:00 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2018-01-09 12:31:00 -0800
commit2751a6d56db675a89b7b473e162e3e1dbf430592 (patch)
treec1f774a691bac454717cd103954ec34820cb0b51
parent07cb62a5035ec291c09ab91a05cde33fb1c3f377 (diff)
downloadinfinitytier-2751a6d56db675a89b7b473e162e3e1dbf430592.tar.gz
infinitytier-2751a6d56db675a89b7b473e162e3e1dbf430592.zip
cleanup
-rw-r--r--osdep/TestEthernetTap.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/osdep/TestEthernetTap.hpp b/osdep/TestEthernetTap.hpp
index 2f73258a..6ccf92f3 100644
--- a/osdep/TestEthernetTap.hpp
+++ b/osdep/TestEthernetTap.hpp
@@ -43,6 +43,7 @@
#include "../node/MulticastGroup.hpp"
#include "../node/Mutex.hpp"
#include "../node/Utils.hpp"
+#include "../osdep/OSUtils.hpp"
namespace ZeroTier {
@@ -66,7 +67,7 @@ public:
_enabled(true)
{
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);
#ifdef ZT_TEST_TAP_REPORT_TO
_reportTo.fromString(ZT_TEST_TAP_REPORT_TO);