summaryrefslogtreecommitdiff
path: root/node/MAC.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-04 14:25:07 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-09-04 14:25:07 -0700
commit93f9b4392dbf1a2c77fa57aa80ae888aff4fbd10 (patch)
treee4b75748546b518237bbdb3ac36cdf8c8103fc89 /node/MAC.hpp
parent6df954674289b22c894b16c0969ddca535ef8216 (diff)
downloadinfinitytier-93f9b4392dbf1a2c77fa57aa80ae888aff4fbd10.tar.gz
infinitytier-93f9b4392dbf1a2c77fa57aa80ae888aff4fbd10.zip
Enable configuration of multicast algorithm parameters in netconf
Diffstat (limited to 'node/MAC.hpp')
-rw-r--r--node/MAC.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/MAC.hpp b/node/MAC.hpp
index cd749911..e4f69aa6 100644
--- a/node/MAC.hpp
+++ b/node/MAC.hpp
@@ -158,6 +158,8 @@ public:
inline void fromString(const char *s)
{
char tmp[8];
+ for(int i=0;i<6;++i)
+ tmp[i] = (char)0;
Utils::unhex(s,tmp,6);
setTo(tmp,6);
}