From 2751a6d56db675a89b7b473e162e3e1dbf430592 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 9 Jan 2018 12:31:00 -0800 Subject: cleanup --- osdep/TestEthernetTap.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3