summaryrefslogtreecommitdiff
path: root/node/MulticastGroup.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-27 11:31:29 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-27 11:31:29 -0700
commit355cce3938a815feba1085569263ae0225cebfa6 (patch)
treed45f8bf01f9194e4f2e54e615ac4f1c740f344e7 /node/MulticastGroup.hpp
parent02d18af57d7d05d26e44ff2015f5bcf55ebce7a2 (diff)
downloadinfinitytier-355cce3938a815feba1085569263ae0225cebfa6.tar.gz
infinitytier-355cce3938a815feba1085569263ae0225cebfa6.zip
Rename Utils::snprintf due to it being a #define on one platform.
Diffstat (limited to 'node/MulticastGroup.hpp')
-rw-r--r--node/MulticastGroup.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/MulticastGroup.hpp b/node/MulticastGroup.hpp
index 4240db67..7cbec2e0 100644
--- a/node/MulticastGroup.hpp
+++ b/node/MulticastGroup.hpp
@@ -100,7 +100,7 @@ public:
inline std::string toString() const
{
char buf[64];
- Utils::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%.8lx",(unsigned int)_mac[0],(unsigned int)_mac[1],(unsigned int)_mac[2],(unsigned int)_mac[3],(unsigned int)_mac[4],(unsigned int)_mac[5],(unsigned long)_adi);
+ Utils::ztsnprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%.8lx",(unsigned int)_mac[0],(unsigned int)_mac[1],(unsigned int)_mac[2],(unsigned int)_mac[3],(unsigned int)_mac[4],(unsigned int)_mac[5],(unsigned long)_adi);
return std::string(buf);
}