summaryrefslogtreecommitdiff
path: root/node/MulticastGroup.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-10 09:40:37 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-10 09:40:37 -0400
commita3a2b8dedb347c7caf92e707cd65be302c78575d (patch)
treefe494fde0800a43bd874f4dbc3df2bff5f80029f /node/MulticastGroup.hpp
parenta40b8c07f49bd9ad2748430eb9e79680059458fd (diff)
downloadinfinitytier-a3a2b8dedb347c7caf92e707cd65be302c78575d.tar.gz
infinitytier-a3a2b8dedb347c7caf92e707cd65be302c78575d.zip
Look up rate info from database, but going to drop min balance cause it seems unnecessary. Also work in progress on membership certs.
Diffstat (limited to 'node/MulticastGroup.hpp')
-rw-r--r--node/MulticastGroup.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/MulticastGroup.hpp b/node/MulticastGroup.hpp
index 3c31756f..9b96d6e8 100644
--- a/node/MulticastGroup.hpp
+++ b/node/MulticastGroup.hpp
@@ -101,12 +101,12 @@ public:
}
/**
- * @return Human readable string representing this group
+ * @return Human readable string representing this group (MAC/ADI in hex)
*/
inline std::string toString() const
{
char buf[64];
- Utils::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%.8lx",(unsigned int)_mac.data[0],(unsigned int)_mac.data[1],(unsigned int)_mac.data[2],(unsigned int)_mac.data[3],(unsigned int)_mac.data[4],(unsigned int)_mac.data[5],(unsigned long)_adi);
+ Utils::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%lx",(unsigned int)_mac.data[0],(unsigned int)_mac.data[1],(unsigned int)_mac.data[2],(unsigned int)_mac.data[3],(unsigned int)_mac.data[4],(unsigned int)_mac.data[5],(unsigned long)_adi);
return std::string(buf);
}