Look up rate info from database, but going to drop min balance cause it seems unnecessary. Also work in progress on membership certs.

This commit is contained in:
Adam Ierymenko 2013-09-10 09:40:37 -04:00
parent a40b8c07f4
commit a3a2b8dedb
3 changed files with 54 additions and 3 deletions

View file

@ -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);
}