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:
parent
a40b8c07f4
commit
a3a2b8dedb
3 changed files with 54 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue