summaryrefslogtreecommitdiff
path: root/node/MulticastGroup.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-03-18 16:10:48 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-03-18 16:10:48 -0700
commita8a92c5b89b51f6786d6e5cb41a588197b6afabb (patch)
tree9004ad82f5660f889635e5ccf5ede58be0f4922d /node/MulticastGroup.hpp
parentcea3f2815589f956f699ad589a66c9d09f406ee9 (diff)
downloadinfinitytier-a8a92c5b89b51f6786d6e5cb41a588197b6afabb.tar.gz
infinitytier-a8a92c5b89b51f6786d6e5cb41a588197b6afabb.zip
A whole lot of Sqlite netconf master work, and some fixes elsewhere in the code.
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 bef17a44..85855438 100644
--- a/node/MulticastGroup.hpp
+++ b/node/MulticastGroup.hpp
@@ -111,7 +111,7 @@ public:
inline std::string toString() const
{
char buf[64];
- Utils::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%lx",(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::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%.4x",(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 int)_adi);
return std::string(buf);
}