From a3a2b8dedb347c7caf92e707cd65be302c78575d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 10 Sep 2013 09:40:37 -0400 Subject: Look up rate info from database, but going to drop min balance cause it seems unnecessary. Also work in progress on membership certs. --- node/MulticastGroup.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'node/MulticastGroup.hpp') 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); } -- cgit v1.2.3