summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-25 17:41:49 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-09-25 17:41:49 -0400
commit24bad9f3d1119c4bf80e28f33d4241c7e6221877 (patch)
treef570e235f547628d5498a4bbc54f653325848cf0 /node/Network.cpp
parentf3128a18fee6745317cdf1918fe3c3901958b1de (diff)
downloadinfinitytier-24bad9f3d1119c4bf80e28f33d4241c7e6221877.tar.gz
infinitytier-24bad9f3d1119c4bf80e28f33d4241c7e6221877.zip
More work in progress in new multicast propagation...
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 65e61738..bfc4b013 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -157,6 +157,8 @@ SharedPtr<Network> Network::newInstance(const RuntimeEnvironment *renv,uint64_t
// that then causes the Network instance to be deleted before it is finished
// being constructed. C++ edge cases, how I love thee.
SharedPtr<Network> nw(new Network());
+ memset(nw->_multicastHistory,0,sizeof(nw->_multicastHistory));
+ nw->_multicastHistoryPtr = 0;
nw->_ready = false; // disable handling of Ethernet frames during construct
nw->_r = renv;
nw->_tap = new EthernetTap(renv,tag,renv->identity.address().toMAC(),ZT_IF_MTU,&_CBhandleTapData,nw.ptr());