diff options
-rw-r--r-- | osdep/TestEthernetTap.hpp | 3 |
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); |