diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-13 18:12:45 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-13 18:12:45 -0700 |
commit | b888e033c075b1f849a5eb27c4b5da52fe3cac32 (patch) | |
tree | 1e550050a47f68a1a15169f92fe21512562df8ac /node/MulticastGroup.hpp | |
parent | ff0eff4b7c7f9f33e0b27ef8a52ac3921d87b0fd (diff) | |
download | infinitytier-b888e033c075b1f849a5eb27c4b5da52fe3cac32.tar.gz infinitytier-b888e033c075b1f849a5eb27c4b5da52fe3cac32.zip |
JSON control plane, almost done...
Diffstat (limited to 'node/MulticastGroup.hpp')
-rw-r--r-- | node/MulticastGroup.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/MulticastGroup.hpp b/node/MulticastGroup.hpp index 8bc65f1e..ad0c410c 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/%.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); + Utils::snprintf(buf,sizeof(buf),"%.2x%.2x%.2x%.2x%.2x%.2x/%.8lx",(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); return std::string(buf); } |